public interface VariableMetaData
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockingFactor() |
java.nio.ByteBuffer |
getBuffer(java.lang.Class type,
int[] recordRange,
boolean preserve,
java.nio.ByteOrder bo)
Returns ByteBuffer containing uncompressed values converted to
a stream of numbers of the type specified by 'type' using the
specified byte ordering (specified by bo) for the specified range
of records.
|
VariableDataBuffer[] |
getDataBuffers()
Gets an array of VariableDataBuffer objects that provide location of
data for this variable if this variable is not compressed.
|
VariableDataBuffer[] |
getDataBuffers(boolean raw) |
int |
getDataItemSize()
Gets the size of an item (defined as number of bytes needed to
represent the value of this variable at a point).
|
int[] |
getDimensions()
Gets the dimensions.
|
int[] |
getEffectiveDimensions()
Returns effective dimensions
|
int |
getEffectiveRank()
Returns effective rank of this variable.
|
java.util.Vector |
getElementCount()
Return element count for this variable's dimensions.
|
VariableDataLocator |
getLocator()
Gets a list of regions that contain data for the variable.
|
java.lang.String |
getName()
Gets the name of this of this variable
|
int |
getNumber()
Gets the sequence number of the variable inside the CDF.
|
int |
getNumberOfElements()
Gets the number of elements (of type returned by getType()).
|
int |
getNumberOfValues()
Gets the number of values (size of time series)
|
java.lang.Object |
getPadValue()
Gets an object that represents a padded instance.
|
java.lang.Object |
getPadValue(boolean preservePrecision)
Gets an object that represents a padded instance for a variable of
numeric type.
|
int[] |
getRecordRange()
Returns record range for this variable
|
int |
getType()
Gets the type of values of the variable.
|
boolean[] |
getVarys()
Gets the dimensional variance.
|
boolean |
isCompatible(java.lang.Class cl)
returns whether conversion of this variable to type specified by
cl is supported while preserving precision.
|
boolean |
isCompatible(java.lang.Class cl,
boolean preserve)
returns whether conversion of this variable to type specified by
cl is supported under the given precision preserving constraint.
|
boolean |
isCompressed()
Determines whether the value of this variable is represented as
a compressed byte sequence in the CDF.
|
boolean |
isMissingRecords()
Shows whether one or more records (in the range returned by
getRecordRange()) are missing.
|
boolean |
isTypeR() |
boolean |
missingRecordValueIsPad()
Return whether the missing record should be assigned the pad
value.
|
boolean |
missingRecordValueIsPrevious()
Return whether the missing record should be assigned the last
seen value.
|
boolean |
recordVariance()
Determines whether the value of this variable is the same at
all time points.
|
boolean |
rowMajority()
Determines whether the value of this variable is presented in
a row-major order in the CDF.
|
boolean recordVariance()
boolean isCompressed()
boolean rowMajority()
java.lang.String getName()
int getType()
int getDataItemSize()
int getNumber()
int getNumberOfElements()
int getNumberOfValues()
java.lang.Object getPadValue()
java.lang.Object getPadValue(boolean preservePrecision)
int[] getDimensions()
boolean[] getVarys()
VariableDataLocator getLocator()
VariableDataBuffer[] getDataBuffers() throws java.lang.Throwable
java.lang.ThrowableVariableDataBuffer[] getDataBuffers(boolean raw) throws java.lang.Throwable
java.lang.Throwableint getEffectiveRank()
java.nio.ByteBuffer getBuffer(java.lang.Class type,
int[] recordRange,
boolean preserve,
java.nio.ByteOrder bo)
throws java.lang.Throwable
java.lang.Throwableboolean isMissingRecords()
int[] getRecordRange()
boolean isCompatible(java.lang.Class cl)
boolean isCompatible(java.lang.Class cl,
boolean preserve)
boolean missingRecordValueIsPrevious()
boolean missingRecordValueIsPad()
java.util.Vector getElementCount()
int[] getEffectiveDimensions()
int getBlockingFactor()
boolean isTypeR()