public class RecordSpec
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected int[] | 
fieldNumbers  | 
protected FieldIDMapper | 
fim  | 
| Constructor and Description | 
|---|
RecordSpec(int len)
Constructor that creates an identity mapping of the specified length. 
 | 
RecordSpec(int[] specs)
Constructor that takes an array of ints 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
protected int[] fieldNumbers
protected FieldIDMapper fim
public RecordSpec(int[] specs)
public RecordSpec(int len)
public final int getIndexedFieldNumber(int index)
public final FieldIDMapper getFieldIDMapper()
public final int getFieldNumber(int index)
public int[] getFieldNumbers()
public int size()