|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataScheme
The DataScheme
defines overall scheme of data records and fields.
It contains an indexed list of data records and provides quick access to them.
For the QD, the data scheme represents description of processed data. It shall be provided by some external entity (the APS), and it shall be constant throughout the lifetime of the QD systems.
Method Summary | ||
---|---|---|
DataIntField |
findIntFieldByName(java.lang.String name)
Returns Int-field by its name. |
|
DataObjField |
findObjFieldByName(java.lang.String name)
Returns Obj-field by its name. |
|
DataRecord |
findRecordByName(java.lang.String name)
Returns data record by its name. |
|
SymbolCodec |
getCodec()
Returns symbol codec used in this scheme. |
|
DataRecord |
getRecord(int index)
Returns data record by its index within this scheme. |
|
int |
getRecordCount()
Returns number of records in this scheme. |
|
|
getService(java.lang.Class<T> service_class)
Extension point for additional scheme-specific services. |
Method Detail |
---|
SymbolCodec getCodec()
int getRecordCount()
DataRecord getRecord(int index)
java.lang.IndexOutOfBoundsException
- if the index is out of range
(index < 0 || index >= getRecordCount()).DataRecord findRecordByName(java.lang.String name)
DataIntField findIntFieldByName(java.lang.String name)
DataObjField findObjFieldByName(java.lang.String name)
<T> T getService(java.lang.Class<T> service_class)
null
if no scheme-specific override for the corresponding service is found.
Default implementation in DefaultScheme
is to use
Services.createService(java.lang.Class
with this scheme's class loader.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |