it.eng.spagobi.tools.dataset.common.datastore
Class DataStore
java.lang.Object
it.eng.spagobi.tools.dataset.common.datastore.DataStore
- All Implemented Interfaces:
- IDataStore
public class DataStore
- extends java.lang.Object
- implements IDataStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataStore
public DataStore()
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface IDataStore
iterator
public java.util.Iterator iterator()
- Specified by:
iterator
in interface IDataStore
appendRecord
public void appendRecord(IRecord record)
- Specified by:
appendRecord
in interface IDataStore
prependRecord
public void prependRecord(IRecord record)
- Specified by:
prependRecord
in interface IDataStore
insertRecord
public void insertRecord(int position,
IRecord record)
- Specified by:
insertRecord
in interface IDataStore
getRecordAt
public IRecord getRecordAt(int i)
- Specified by:
getRecordAt
in interface IDataStore
getRecordByID
public IRecord getRecordByID(java.lang.Object value)
- Specified by:
getRecordByID
in interface IDataStore
findRecords
public java.util.List findRecords(int fieldIndex,
java.lang.Object fieldValue)
- Specified by:
findRecords
in interface IDataStore
findRecords
public java.util.List findRecords(java.util.List fieldIndexes,
java.util.List fieldValues)
- Specified by:
findRecords
in interface IDataStore
findRecords
public java.util.List findRecords(IRecordMatcher matcher)
- Specified by:
findRecords
in interface IDataStore
getMetaData
public IDataStoreMetaData getMetaData()
- Specified by:
getMetaData
in interface IDataStore
setMetaData
public void setMetaData(IDataStoreMetaData metaData)
getFieldValues
public java.util.List getFieldValues(int fieldIndex)
- Specified by:
getFieldValues
in interface IDataStore
getFieldDistinctValues
public java.util.Set getFieldDistinctValues(int fieldIndex)
- Specified by:
getFieldDistinctValues
in interface IDataStore
sortRecords
public void sortRecords(int fieldIndex)
- Specified by:
sortRecords
in interface IDataStore
sortRecords
public void sortRecords(int fieldIndex,
java.util.Comparator filedComparator)
- Specified by:
sortRecords
in interface IDataStore
sortRecords
public void sortRecords(java.util.Comparator recordComparator)
- Specified by:
sortRecords
in interface IDataStore
getRecords
public java.util.List getRecords()
setRecords
public void setRecords(java.util.List records)
toSourceBean
public it.eng.spago.base.SourceBean toSourceBean()
throws it.eng.spago.base.SourceBeanException
- Specified by:
toSourceBean
in interface IDataStore
- Throws:
it.eng.spago.base.SourceBeanException
toXml
public java.lang.String toXml()
- Specified by:
toXml
in interface IDataStore