public class TableBinaryAdapter extends Object implements TableAdapter
Constructor and Description |
---|
TableBinaryAdapter(TableBinary table)
Creates a new instance for a particular table.
|
Modifier and Type | Method and Description |
---|---|
FieldDescription |
getField(int index)
Returns the field at a given index.
|
int |
getFieldCount()
Gets the number of fields in each record.
|
FieldDescription[] |
getFields()
Gets the definitions of fields from the table.
|
long |
getOffset()
Gets the offset into the data file where the table starts.
|
int |
getRecordCount()
Gets the number of records in the table.
|
int |
getRecordLength()
Gets the length of each record.
|
public TableBinaryAdapter(TableBinary table)
table
- the tablepublic int getRecordCount()
TableAdapter
getRecordCount
in interface TableAdapter
public int getFieldCount()
TableAdapter
getFieldCount
in interface TableAdapter
public FieldDescription getField(int index)
TableAdapter
getField
in interface TableAdapter
index
- the field indexpublic FieldDescription[] getFields()
TableAdapter
getFields
in interface TableAdapter
public long getOffset()
TableAdapter
getOffset
in interface TableAdapter
public int getRecordLength()
TableAdapter
getRecordLength
in interface TableAdapter
Copyright © 2010–2017 Planetary Data System. All rights reserved.