Package | Description |
---|---|
org.openfast | |
org.openfast.template | |
org.openfast.template.operator | |
org.openfast.template.type | |
org.openfast.template.type.codec | |
org.openfast.util |
Modifier and Type | Class and Description |
---|---|
class |
BitVectorValue |
class |
ByteVectorValue |
class |
DateValue |
class |
DecimalValue |
class |
IntegerValue |
class |
NumericValue |
class |
StringValue |
Modifier and Type | Field and Description |
---|---|
static ScalarValue |
ByteVectorValue.EMPTY_BYTES |
static ScalarValue |
ScalarValue.NULL |
static ScalarValue |
ScalarValue.UNDEFINED |
Modifier and Type | Method and Description |
---|---|
ScalarValue |
GroupValue.getScalar(int fieldIndex) |
ScalarValue |
GroupValue.getScalar(String fieldName) |
ScalarValue |
TemplateDictionary.lookup(Group template,
QName key,
QName applicationType) |
ScalarValue |
GlobalDictionary.lookup(Group template,
QName key,
QName applicationType) |
ScalarValue |
Dictionary.lookup(Group template,
QName key,
QName currentApplicationType) |
ScalarValue |
ApplicationTypeDictionary.lookup(Group template,
QName key,
QName applicationType) |
ScalarValue |
Context.lookup(String dictionary,
Group group,
QName key) |
Modifier and Type | Method and Description |
---|---|
void |
TemplateDictionary.store(Group group,
QName applicationType,
QName key,
ScalarValue valueToEncode) |
void |
GlobalDictionary.store(Group group,
QName applicationType,
QName key,
ScalarValue value) |
void |
Dictionary.store(Group group,
QName applicationType,
QName key,
ScalarValue valueToEncode) |
void |
ApplicationTypeDictionary.store(Group group,
QName applicationType,
QName key,
ScalarValue value) |
void |
Context.store(QName key,
int index,
ScalarValue value) |
void |
Context.store(String dictionary,
Group group,
QName key,
ScalarValue valueToEncode) |
Modifier and Type | Class and Description |
---|---|
class |
LongValue |
class |
TwinValue |
Modifier and Type | Field and Description |
---|---|
ScalarValue |
TwinValue.first |
ScalarValue |
TwinValue.second |
Modifier and Type | Method and Description |
---|---|
ScalarValue |
Scalar.decode(ScalarValue previousValue) |
ScalarValue |
Scalar.decodeValue(ScalarValue newValue,
ScalarValue previousValue) |
ScalarValue |
Scalar.getBaseValue() |
ScalarValue |
Scalar.getDefaultValue() |
Modifier and Type | Method and Description |
---|---|
ScalarValue |
Scalar.decode(ScalarValue previousValue) |
ScalarValue |
Scalar.decodeValue(ScalarValue newValue,
ScalarValue previousValue) |
String |
Scalar.serialize(ScalarValue value) |
Constructor and Description |
---|
Scalar(QName name,
Type type,
OperatorCodec operatorCodec,
ScalarValue defaultValue,
boolean optional)
Scalar constructor - sets the dictionary as global and validates the
entries
|
Scalar(QName name,
Type type,
Operator operator,
ScalarValue defaultValue,
boolean optional) |
Scalar(String name,
Type type,
Operator operator,
ScalarValue defaultValue,
boolean optional)
Scalar constructor - sets the dictionary as global and validates the
entries
|
TwinValue(ScalarValue first,
ScalarValue second)
TwinValue Constructor - takes two ScalarValues
|
Modifier and Type | Method and Description |
---|---|
ScalarValue |
OptionallyPresentOperatorCodec.decodeEmptyValue(ScalarValue priorValue,
Scalar field) |
abstract ScalarValue |
OperatorCodec.decodeEmptyValue(ScalarValue previousValue,
Scalar field) |
abstract ScalarValue |
OperatorCodec.decodeValue(ScalarValue newValue,
ScalarValue priorValue,
Scalar field) |
ScalarValue |
CopyOperatorCodec.decodeValue(ScalarValue newValue,
ScalarValue priorValue,
Scalar field) |
protected abstract ScalarValue |
OptionallyPresentOperatorCodec.getEmptyValue(ScalarValue priorValue) |
protected ScalarValue |
CopyOperatorCodec.getEmptyValue(ScalarValue priorValue) |
protected abstract ScalarValue |
OptionallyPresentOperatorCodec.getInitialValue(Scalar field) |
protected ScalarValue |
CopyOperatorCodec.getInitialValue(Scalar field)
Get the initial value of the passed Scalar object as long as the object
is defined
|
ScalarValue |
OptionallyPresentOperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
Scalar field) |
abstract ScalarValue |
OperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
Scalar field) |
ScalarValue |
OperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
Scalar scalar,
BitVectorBuilder presenceMapBuilder) |
ScalarValue |
AlwaysPresentOperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
Scalar scalar,
BitVectorBuilder presenceMapBuilder) |
protected abstract ScalarValue |
OptionallyPresentOperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
ScalarValue defaultValue) |
protected ScalarValue |
CopyOperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
ScalarValue defaultValue)
Determine which values to encode from the passed ScalarValue objects
|
Modifier and Type | Method and Description |
---|---|
boolean |
OperatorCodec.canEncode(ScalarValue value,
Scalar field) |
ScalarValue |
OptionallyPresentOperatorCodec.decodeEmptyValue(ScalarValue priorValue,
Scalar field) |
abstract ScalarValue |
OperatorCodec.decodeEmptyValue(ScalarValue previousValue,
Scalar field) |
abstract ScalarValue |
OperatorCodec.decodeValue(ScalarValue newValue,
ScalarValue priorValue,
Scalar field) |
ScalarValue |
CopyOperatorCodec.decodeValue(ScalarValue newValue,
ScalarValue priorValue,
Scalar field) |
protected abstract ScalarValue |
OptionallyPresentOperatorCodec.getEmptyValue(ScalarValue priorValue) |
protected ScalarValue |
CopyOperatorCodec.getEmptyValue(ScalarValue priorValue) |
ScalarValue |
OptionallyPresentOperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
Scalar field) |
abstract ScalarValue |
OperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
Scalar field) |
ScalarValue |
OperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
Scalar scalar,
BitVectorBuilder presenceMapBuilder) |
ScalarValue |
AlwaysPresentOperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
Scalar scalar,
BitVectorBuilder presenceMapBuilder) |
protected abstract ScalarValue |
OptionallyPresentOperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
ScalarValue defaultValue) |
protected ScalarValue |
CopyOperatorCodec.getValueToEncode(ScalarValue value,
ScalarValue priorValue,
ScalarValue defaultValue)
Determine which values to encode from the passed ScalarValue objects
|
boolean |
Operator.shouldStoreValue(ScalarValue value) |
Modifier and Type | Method and Description |
---|---|
abstract ScalarValue |
Type.getDefaultValue() |
ScalarValue |
StringType.getDefaultValue() |
ScalarValue |
IntegerType.getDefaultValue() |
ScalarValue |
DateType.getDefaultValue() |
ScalarValue |
StringType.getVal(String value) |
protected abstract ScalarValue |
SimpleType.getVal(String value) |
protected ScalarValue |
IntegerType.getVal(String value) |
ScalarValue |
Type.getValue(byte[] bytes) |
ScalarValue |
Type.getValue(byte[] bytes,
int offset,
int length) |
abstract ScalarValue |
Type.getValue(String value) |
ScalarValue |
SimpleType.getValue(String value) |
ScalarValue |
DateType.getValue(String value) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Type.isValueOf(ScalarValue previousValue) |
boolean |
StringType.isValueOf(ScalarValue previousValue) |
boolean |
IntegerType.isValueOf(ScalarValue previousValue) |
boolean |
DateType.isValueOf(ScalarValue previousValue) |
String |
Type.serialize(ScalarValue value) |
String |
DateType.serialize(ScalarValue value) |
void |
Type.validateValue(ScalarValue value) |
void |
IntegerType.validateValue(ScalarValue value)
Validates the passed ScalarValue, if fails, throws error.
|
Modifier and Type | Method and Description |
---|---|
protected static ScalarValue |
IntegerCodec.createValue(long value)
Creates a new value, long or integer, depends on value passed to method
|
ScalarValue |
UnsignedInteger.decode(InputStream in) |
abstract ScalarValue |
TypeCodec.decode(InputStream in) |
ScalarValue |
TimestampInteger.decode(InputStream in) |
ScalarValue |
TimeInteger.decode(InputStream in) |
ScalarValue |
StringDelta.decode(InputStream in)
Reads in a stream of data and stores it to a TwinValue object
|
ScalarValue |
SignedInteger.decode(InputStream in) |
ScalarValue |
NullableUnsignedInteger.decode(InputStream in)
Reads in a stream of data and stores it to a NumericValue object
|
ScalarValue |
NullableStringDelta.decode(InputStream in)
Reads in a stream of data and stores it to a TwinValue object
|
ScalarValue |
NullableSignedInteger.decode(InputStream in)
Reads in a stream of data and stores it to a numericValue object - type
integer
|
ScalarValue |
NullableByteVector.decode(InputStream in)
Reads in a stream of data and stores it to a ByteVectorValue object
|
ScalarValue |
MillisecondsSinceMidnight.decode(InputStream in) |
ScalarValue |
EpochTimestamp.decode(InputStream in) |
ScalarValue |
DateString.decode(InputStream in) |
ScalarValue |
DateInteger.decode(InputStream in) |
ScalarValue |
BitVectorType.decode(InputStream in)
Reads in a stream of data and stores it to a BitVector object
|
ScalarValue |
StringDelta.fromString(String value)
Convert a string to a StringValue object with the string as the passed
value
|
ScalarValue |
NullableStringDelta.fromString(String value) |
ScalarValue |
NullableByteVector.fromString(String value) |
ScalarValue |
BitVectorType.fromString(String value) |
ScalarValue |
StringDelta.getDefaultValue() |
ScalarValue |
NullableStringDelta.getDefaultValue() |
ScalarValue |
NullableByteVector.getDefaultValue() |
ScalarValue |
BitVectorType.getDefaultValue() |
Modifier and Type | Method and Description |
---|---|
byte[] |
TypeCodec.encode(ScalarValue value)
Template Method to encode the passed object, the actual encoding is done
in the encodeValue() method overridden in sub-classes.
|
byte[] |
NotStopBitEncodedTypeCodec.encode(ScalarValue value) |
byte[] |
UnsignedInteger.encodeValue(ScalarValue scalarValue)
Takes a ScalarValue object, and converts it to a byte array
|
abstract byte[] |
TypeCodec.encodeValue(ScalarValue value) |
byte[] |
TimestampInteger.encodeValue(ScalarValue value) |
byte[] |
TimeInteger.encodeValue(ScalarValue value) |
byte[] |
StringDelta.encodeValue(ScalarValue value)
Takes a ScalarValue object, and converts it to a byte array
|
byte[] |
SignedInteger.encodeValue(ScalarValue value)
Takes a ScalarValue object, and converts it to a byte array
|
byte[] |
NullableUnsignedInteger.encodeValue(ScalarValue v)
Takes a ScalarValue object, and converts it to a byte array
|
byte[] |
NullableStringDelta.encodeValue(ScalarValue value)
Takes a ScalarValue object, and converts it to a byte array
|
byte[] |
NullableSignedInteger.encodeValue(ScalarValue value)
Takes a ScalarValue object, and converts it to a byte array
|
byte[] |
NullableByteVector.encodeValue(ScalarValue value)
Takes a ScalarValue object, and converts it to a byte array
|
byte[] |
MillisecondsSinceMidnight.encodeValue(ScalarValue value) |
byte[] |
EpochTimestamp.encodeValue(ScalarValue value) |
byte[] |
DateString.encodeValue(ScalarValue value) |
byte[] |
DateInteger.encodeValue(ScalarValue value) |
byte[] |
BitVectorType.encodeValue(ScalarValue value)
Takes a ScalarValue object, and converts it to a byte array
|
Modifier and Type | Method and Description |
---|---|
static ScalarValue |
Util.getDifference(byte[] newValue,
byte[] priorValue) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
Util.applyDifference(ScalarValue baseValue,
TwinValue diffValue) |
static ComposedScalar |
Util.composedDecimal(QName name,
Operator exponentOp,
ScalarValue exponentVal,
Operator mantissaOp,
ScalarValue mantissaVal,
boolean optional) |
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.