|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.sdsc.grid.io.MetaDataRecordList
edu.sdsc.grid.io.irods.IRODSMetaDataRecordList
public class IRODSMetaDataRecordList
Results of long queries will only return a partial list to save on bandwidth which can be iterated through by further calls to the server.
IRODSMetaDataRecordList works closely with the file server to do a multi-step query that does not have to return everything immediately. This class, for instance, works with partial query results and, on need, issues a query for the next batch of results. If some of the results are never asked for, they are never retreived. To the caller, some requests for a record are immediate while others pause while the partial query is sent.
| Field Summary |
|---|
| Fields inherited from class edu.sdsc.grid.io.MetaDataRecordList |
|---|
fields, records |
| Constructor Summary | |
|---|---|
IRODSMetaDataRecordList(MetaDataField field,
float recordValue)
Create a new MetaDataRecordList with this field and
recordValue. |
|
IRODSMetaDataRecordList(MetaDataField field,
java.lang.Float recordValue)
Create a new MetaDataRecordList with this field and
recordValue. |
|
IRODSMetaDataRecordList(MetaDataField field,
int recordValue)
Create a new MetaDataRecordList with this field and
recordValue. |
|
IRODSMetaDataRecordList(MetaDataField field,
java.lang.Integer recordValue)
Create a new MetaDataRecordList with this field and
recordValue. |
|
IRODSMetaDataRecordList(MetaDataField field,
java.lang.String recordValue)
Create a new MetaDataRecordList with this field and
recordValue. |
|
| Method Summary | |
|---|---|
protected void |
finalize()
Finalizes the object by explicitly letting go of each of its internally held values. |
MetaDataRecordList[] |
getMoreResults()
Gets further results from the query. |
MetaDataRecordList[] |
getMoreResults(int numOfResults)
Gets further results from the query. |
boolean |
isQueryComplete()
Tests if this IRODSMetaDataRecordList can return more values from the query. |
| Methods inherited from class edu.sdsc.grid.io.MetaDataRecordList |
|---|
addRecord, addRecord, addRecord, addRecord, addRecord, equals, getAllResults, getField, getFieldCount, getFieldIndex, getFieldName, getFields, getFieldType, getFloatValue, getIntValue, getRecordCount, getStringValue, getTableValue, getValue, getValue, getValue, removeRecord, removeRecord, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IRODSMetaDataRecordList(MetaDataField field,
int recordValue)
field and
recordValue.
public IRODSMetaDataRecordList(MetaDataField field,
float recordValue)
field and
recordValue.
public IRODSMetaDataRecordList(MetaDataField field,
java.lang.Integer recordValue)
field and
recordValue.
public IRODSMetaDataRecordList(MetaDataField field,
java.lang.Float recordValue)
field and
recordValue.
public IRODSMetaDataRecordList(MetaDataField field,
java.lang.String recordValue)
field and
recordValue.
| Method Detail |
|---|
protected void finalize()
finalize in class MetaDataRecordListpublic boolean isQueryComplete()
isQueryComplete in class MetaDataRecordList
public MetaDataRecordList[] getMoreResults()
throws java.io.IOException
IRODSFileSystem.DEFAULT_RECORDS_WANTED.
getMoreResults in class MetaDataRecordListjava.io.IOException - If an IOException occurs.
public MetaDataRecordList[] getMoreResults(int numOfResults)
throws java.io.IOException
getMoreResults in class MetaDataRecordListjava.io.IOException - If an IOException occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||