Package hec.io.dbf
Interface DbfRecordSet
- All Superinterfaces:
DbfRecordIndexSet,Serializable
- All Known Implementing Classes:
DbfQueryResultSet,DefaultDbfRecordSet
This interface defines a DbfRecordSet for use in queries and writes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the argument Dbf record to record set.voidadd(Serializable indexTagKey, Vector data) Creates a new DbfRecord using the argument data and adds it to the set.get(int i) Returns the Dbf Record at the argument index.String[]Returns the fields to be queried.iterator()Returns an iterator for this record set.voidPrints descriptive information on this object to System.out.intsize()Returns the number of Dbf Records in this set.Methods inherited from interface hec.io.dbf.DbfRecordIndexSet
getIndexFileName, getIndexTagKeys, getIndexTagName, hasIndex
-
Method Details
-
size
int size()Returns the number of Dbf Records in this set.- Returns:
-
get
Returns the Dbf Record at the argument index. -
add
Adds the argument Dbf record to record set. If the record is already in this set it is replaced. -
add
Creates a new DbfRecord using the argument data and adds it to the set. -
iterator
Iterator iterator()Returns an iterator for this record set. -
getFieldNames
String[] getFieldNames()Returns the fields to be queried. -
printData
void printData()Prints descriptive information on this object to System.out.- Specified by:
printDatain interfaceDbfRecordIndexSet
-