|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.common.RecordSpec
public class RecordSpec
A RecordSpec holds an array of integers, where each integer specifies the field number of a desired attribute. Typically, a RecordSpec will be an argument to a query method, specifying which point attributes should be returned.
Field Summary | |
---|---|
protected int[] |
fieldNumbers
|
protected FieldIDMapper |
fim
|
Constructor Summary | |
---|---|
RecordSpec(int len)
Constructor that creates an identity mapping of the specified length. |
|
RecordSpec(int[] specs)
Constructor that takes an array of ints |
Method Summary | |
---|---|
FieldIDMapper |
getFieldIDMapper()
Returns the FieldIDMapper equivalent to this RecordSpec |
int |
getFieldNumber(int index)
Returns the FieldSpec at the index position. |
int[] |
getFieldNumbers()
get the field number array |
int |
getIndexedFieldNumber(int index)
Deprecated. Use getFieldNumber( int ) |
int |
size()
Returns the number of FieldIDs in the RecordSpec. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int[] fieldNumbers
protected FieldIDMapper fim
Constructor Detail |
---|
public RecordSpec(int[] specs)
public RecordSpec(int len)
Method Detail |
---|
public final int getIndexedFieldNumber(int index)
public final FieldIDMapper getFieldIDMapper()
public final int getFieldNumber(int index)
public int[] getFieldNumbers()
public int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |