Package hec.io.dbf
Class DbfRecordQuery
java.lang.Object
hec.io.dbf.DefaultDbfRecordIndexSet
hec.io.dbf.DbfRecordQuery
- All Implemented Interfaces:
DbfRecordIndexSet
,Serializable
- Direct Known Subclasses:
DefaultDbfRecordSet
A class that provides the means to query data from a dbf file.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDbfRecordQuery
(DbfRecordQuery copyMe) A copy constructor.DbfRecordQuery
(String indexTagName, Serializable[] indexTagKeys, String[] fieldNames) Creates a query that retrieves the fields for the specified index keys using the index tag.DbfRecordQuery
(String indexTagName, String[] fieldNames) Creates a query to retrieve all of the fields for the records in the index tag.DbfRecordQuery
(String indexFileName, String indexTagName, String[] fieldNames) Creates a query to retrieve all of the fields for the records from the index file and tag. -
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns the fields to be queried.void
Prints descriptive information on this object to System.out.Methods inherited from class hec.io.dbf.DefaultDbfRecordIndexSet
getIndexFileName, getIndexTagKeys, getIndexTagName, hasIndex
-
Constructor Details
-
DbfRecordQuery
Creates a query to retrieve all of the fields for the records from the index file and tag. -
DbfRecordQuery
Creates a query to retrieve all of the fields for the records in the index tag. -
DbfRecordQuery
Creates a query that retrieves the fields for the specified index keys using the index tag. -
DbfRecordQuery
A copy constructor.
-
-
Method Details
-
getFieldNames
Returns the fields to be queried. -
printData
public void printData()Prints descriptive information on this object to System.out.- Specified by:
printData
in interfaceDbfRecordIndexSet
- Overrides:
printData
in classDefaultDbfRecordIndexSet
-