public abstract class ExtendedIndexedStorage extends IndexedStorage
IndexedStorage.MISSING_TAG_HANDLING
Modifier and Type | Field and Description |
---|---|
static String |
NOT_AN_INT_VALUE_ERROR |
FIELD_SEPARATOR, NOTFOUND
Modifier | Constructor and Description |
---|---|
protected |
ExtendedIndexedStorage(int initialSize) |
Modifier and Type | Method and Description |
---|---|
int |
addTag(int tagId,
boolean value) |
int |
addTag(int tagId,
byte[] value) |
int |
addTag(TagValue tagValue) |
int |
addTagAtIndex(int index,
int tagId,
boolean value) |
int |
addTagAtIndex(int index,
int tagId,
byte[] value) |
int |
addTagAtIndex(int index,
TagValue tagValue) |
byte[] |
getBytes(int tagId)
Deprecated.
use #getTagValueAsBytes(int)
|
long |
getMsgSeqNumber()
Gets message sequence number.
|
byte[] |
getMsgType()
Deprecated.
use #getMsgType(byte[])
|
int |
getMsgType(byte[] msgType) |
FIXVersion |
getMsgVersion()
Gets message fix version.
|
BigDecimal |
getTagValueAsBigDecimal(int tag) |
BigDecimal |
getTagValueAsBigDecimal(int tag,
int occurrence) |
boolean |
getTagValueAsBool(int tag) |
boolean |
getTagValueAsBool(int tagId,
int occurrence) |
byte |
getTagValueAsByte(int tag) |
byte |
getTagValueAsByte(int tag,
int offset) |
byte |
getTagValueAsByte(int tagId,
int offset,
int occurrence) |
byte |
getTagValueAsByteAtIndex(int index) |
byte[] |
getTagValueAsBytes(int tag) |
int |
getTagValueAsBytes(int tag,
byte[] dest,
int offset) |
byte[] |
getTagValueAsBytes(int tagId,
int occurrence) |
int |
getTagValueAsBytes(int tagId,
int occurrence,
byte[] dest,
int offset) |
void |
getTagValueAsDateOnly(int tag,
Calendar cal) |
void |
getTagValueAsDateOnly(int tagId,
int occurrence,
Calendar cal) |
void |
getTagValueAsDateOnlyAtIndex(int index,
Calendar cal) |
double |
getTagValueAsDouble(int tag) |
double |
getTagValueAsDouble(int tagId,
int occurrence) |
int |
getTagValueAsInt(int tag) |
int |
getTagValueAsInt(int tag,
int occurrence) |
int |
getTagValueAsIntAtIndex(int index) |
void |
getTagValueAsLocalMktTime(int tag,
Calendar cal) |
void |
getTagValueAsLocalMktTime(int tagId,
int occurrence,
Calendar cal) |
void |
getTagValueAsLocalMktTimeAtIndex(int index,
Calendar cal) |
long |
getTagValueAsLong(int tag) |
long |
getTagValueAsLong(int tagId,
int occurrence) |
void |
getTagValueAsMonthYear(int tag,
Calendar cal) |
void |
getTagValueAsMonthYear(int tagId,
int occurrence,
Calendar cal) |
void |
getTagValueAsMonthYearAtIndex(int index,
Calendar cal) |
void |
getTagValueAsReusableString(ReusableString reusableString,
int tagId)
Sets the value in provided ReusableString.
|
void |
getTagValueAsReusableString(ReusableString reusableString,
int tagId,
int occurrence)
Sets the value in provided ReusableString.
|
String |
getTagValueAsString(int tagId) |
String |
getTagValueAsString(int tagId,
int occurrence) |
void |
getTagValueAsStringBuff(int tag,
StringBuffer str) |
void |
getTagValueAsStringBuff(int tagId,
StringBuffer str,
int occurrence) |
Period |
getTagValueAsTenor(int tag) |
Period |
getTagValueAsTenor(int tagId,
int occurrence) |
Period |
getTagValueAsTenorAtIndex(int index) |
void |
getTagValueAsTimeOnly(int tag,
Calendar cal) |
void |
getTagValueAsTimeOnly(int tagId,
int occurrence,
Calendar cal) |
void |
getTagValueAsTimeOnlyAtIndex(int index,
Calendar cal) |
void |
getTagValueAsTimestamp(int tag,
Calendar cal) |
void |
getTagValueAsTimestamp(int tagId,
int occurrence,
Calendar cal) |
void |
getTagValueAsTimestampAtIndex(int index,
Calendar cal) |
void |
getTagValueAsTZTimeOnly(int tag,
Calendar cal) |
void |
getTagValueAsTZTimeOnly(int tagId,
int occurrence,
Calendar cal) |
void |
getTagValueAsTZTimeOnlyAtIndex(int index,
Calendar cal) |
void |
getTagValueAsTZTimestamp(int tag,
Calendar cal) |
void |
getTagValueAsTZTimestamp(int tagId,
int occurrence,
Calendar cal) |
void |
getTagValueAsTZTimestampAtIndex(int index,
Calendar cal) |
boolean |
hasTagValue(int tagId) |
boolean |
isTagValueEqual(int tagId,
byte[] value) |
void |
set(int tagId,
boolean value) |
void |
set(int tagId,
byte value) |
void |
set(int tagId,
byte[] value) |
void |
set(int tagId,
byte[] value,
int offset,
int length) |
void |
set(int tagId,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type) |
void |
set(int tagId,
char value) |
void |
set(int tagId,
CharSequence value) |
void |
set(int tagId,
double value,
int precision) |
void |
set(int tagId,
int value) |
void |
set(int tagId,
int occurrence,
boolean value) |
void |
set(int tagId,
int occurrence,
byte value) |
void |
set(int tagId,
int occurrence,
byte[] value) |
void |
set(int tagId,
int occurrence,
byte[] value,
int offset,
int length) |
void |
set(int tagId,
int occurrence,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type) |
void |
set(int tagId,
int occurrence,
char value) |
void |
set(int tagId,
int occurrence,
CharSequence value) |
void |
set(int tagId,
int occurrence,
double value,
int precision) |
void |
set(int tagId,
int occurrence,
int value) |
void |
set(int tagId,
int occurrence,
long value) |
void |
set(int tagId,
int occurrence,
Period value) |
void |
set(int tagId,
int occurrence,
Period value,
TenorPrecision precision) |
void |
set(int tagId,
int occurrence,
String value) |
void |
set(int tagId,
long value) |
void |
set(int tagId,
Period value) |
void |
set(int tagId,
Period value,
TenorPrecision precision) |
void |
set(int tagId,
String value) |
void |
set(int tagId,
StringBuffer value) |
void |
set(int occurrence,
TagValue value) |
void |
set(TagValue value) |
void |
setAtIndex(int index,
boolean value) |
void |
setAtIndex(int index,
byte value) |
void |
setAtIndex(int index,
byte[] value) |
void |
setAtIndex(int index,
byte[] value,
int offset,
int length) |
void |
setAtIndex(int index,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type) |
void |
setAtIndex(int index,
char value) |
void |
setAtIndex(int tagIndex,
CharSequence value) |
void |
setAtIndex(int index,
double value,
int precision) |
void |
setAtIndex(int index,
int value) |
void |
setAtIndex(int index,
long value) |
void |
setAtIndex(int index,
Period value,
TenorPrecision precision) |
void |
setAtIndex(int index,
String value) |
void |
setAtIndex(int tagIndex,
TagValue value) |
addRepeatingGroup, addRepeatingGroup, addRepeatingGroup, addRepeatingGroup, addRepeatingGroupAtIndex, addRepeatingGroupAtIndex, addRepeatingGroupAtIndex, addRepeatingGroupAtIndex, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndexForRg, canCopyInPlace, canCopyInPlaceNumber, canCopyInPlaceWithLengthReducing, clear, clearUnserializableTags, copyRepeatingGroup, copyRepeatingGroup, copyRepeatingGroup, copyRepeatingGroup, deepCopy, ensureCapacityAndEnlarge, ensureCapacityAndEnlarge, fillSubStorage, findOrPrepareToAdd, findOrPrepareToAdd, genericMessageToByteArrayAndReturnNextPosition, getFieldIndexData, getFIXVersion, getIndexCapacity, getNumOfGroup, getOrAddRepeatingGroup, getOrAddRepeatingGroup, getOrAddRepeatingGroupAtIndex, getOrAddRepeatingGroupAtIndex, getRawLength, getRepeatingGroup, getRepeatingGroup, getRepeatingGroupAtIndex, getRepeatingGroupAtIndex, getSize, getStorage, getStorageType, getTag, getTag, getTagAtIndex, getTagIdAtIndex, getTagIndex, getTagIndex, getTagIndexBetween, getTagIndexStartingFrom, getTagValueAsBigDecimalAtIndex, getTagValueAsBoolAtIndex, getTagValueAsByteAtIndex, getTagValueAsBytesAtIndex, getTagValueAsBytesAtIndex, getTagValueAsDoubleAtIndex, getTagValueAsLongAtIndex, getTagValueAsReusableStringAtIndex, getTagValueAsStringAtIndex, getTagValueAsStringBuffAtIndex, getTagValueAtIndex, getTagValueLength, getTagValueLength, getTagValueLengthAtIndex, getTagValueOffsetAtIndex, hashCode, invalidateRepeatingGroupIndex, isAllTagsInOneBuffer, isRepeatingGroupExists, isTagExists, isTagExists, mapPreparedTagInOrigStorage, mapTagInOrigStorage, markUnserializableTag, onEnlarge, preparedToByteArrayAndReturnNextPosition, preparedToByteArrayAndReturnNextPosition2, removeRepeatingGroup, removeRepeatingGroupAtIndex, removeTag, removeTag, removeTagAtIndex, removeTagAtIndex, reserveTagAtIndex, reserveTagAtIndex, reserveTagAtIndexForRg, setOriginalBuffer, toByteArrayAndReturnNextPosition, transferDataToArena, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex
public static final String NOT_AN_INT_VALUE_ERROR
public final byte[] getTagValueAsBytes(int tag)
public final int getTagValueAsBytes(int tag, byte[] dest, int offset)
tag
- dest
- offset
- FieldNotFoundException
public final byte[] getTagValueAsBytes(int tagId, int occurrence)
public final int getTagValueAsBytes(int tagId, int occurrence, byte[] dest, int offset)
public final byte getTagValueAsByte(int tag)
public final byte getTagValueAsByte(int tag, int offset)
public final byte getTagValueAsByte(int tagId, int offset, int occurrence)
public final byte getTagValueAsByteAtIndex(int index)
public final boolean getTagValueAsBool(int tag)
public final boolean getTagValueAsBool(int tagId, int occurrence)
public final double getTagValueAsDouble(int tag)
public final double getTagValueAsDouble(int tagId, int occurrence)
public final BigDecimal getTagValueAsBigDecimal(int tag)
public final BigDecimal getTagValueAsBigDecimal(int tag, int occurrence)
public final long getTagValueAsLong(int tag)
public final long getTagValueAsLong(int tagId, int occurrence)
public final int getTagValueAsInt(int tag)
public final int getTagValueAsInt(int tag, int occurrence)
public final int getTagValueAsIntAtIndex(int index)
public final void getTagValueAsStringBuff(int tag, StringBuffer str)
public final void getTagValueAsStringBuff(int tagId, StringBuffer str, int occurrence)
public final void getTagValueAsReusableString(ReusableString reusableString, int tagId)
tagId
- number of tag for which the value will be obtained.FieldNotFoundException
- if there is no value for specified tag.public final void getTagValueAsReusableString(ReusableString reusableString, int tagId, int occurrence)
tagId
- number of tag for which the value will be obtained.occurrence
- value occurrence of specified tag. Numeration starts with 1.FieldNotFoundException
- if there is no value for specified tag.public final String getTagValueAsString(int tagId, int occurrence)
public final String getTagValueAsString(int tagId)
public void getTagValueAsDateOnly(int tag, Calendar cal)
public void getTagValueAsDateOnly(int tagId, int occurrence, Calendar cal)
public void getTagValueAsDateOnlyAtIndex(int index, Calendar cal)
public void getTagValueAsTimeOnly(int tag, Calendar cal)
public void getTagValueAsTimeOnly(int tagId, int occurrence, Calendar cal)
public void getTagValueAsTimeOnlyAtIndex(int index, Calendar cal)
public void getTagValueAsLocalMktTime(int tag, Calendar cal)
public void getTagValueAsLocalMktTime(int tagId, int occurrence, Calendar cal)
public void getTagValueAsLocalMktTimeAtIndex(int index, Calendar cal)
public void getTagValueAsTimestamp(int tag, Calendar cal)
public void getTagValueAsTimestamp(int tagId, int occurrence, Calendar cal)
public void getTagValueAsTimestampAtIndex(int index, Calendar cal)
public void getTagValueAsMonthYear(int tag, Calendar cal)
public void getTagValueAsMonthYear(int tagId, int occurrence, Calendar cal)
public void getTagValueAsMonthYearAtIndex(int index, Calendar cal)
public Period getTagValueAsTenor(int tag)
public Period getTagValueAsTenor(int tagId, int occurrence)
public Period getTagValueAsTenorAtIndex(int index)
public void getTagValueAsTZTimeOnly(int tag, Calendar cal)
public void getTagValueAsTZTimeOnly(int tagId, int occurrence, Calendar cal)
public void getTagValueAsTZTimeOnlyAtIndex(int index, Calendar cal)
public void getTagValueAsTZTimestamp(int tag, Calendar cal)
public void getTagValueAsTZTimestamp(int tagId, int occurrence, Calendar cal)
public void getTagValueAsTZTimestampAtIndex(int index, Calendar cal)
public boolean isTagValueEqual(int tagId, byte[] value)
public boolean hasTagValue(int tagId)
public final int addTag(int tagId, byte[] value)
public final int addTagAtIndex(int index, int tagId, byte[] value)
public final int addTag(int tagId, boolean value)
public final int addTagAtIndex(int index, int tagId, boolean value)
public final int addTag(TagValue tagValue)
public final int addTagAtIndex(int index, TagValue tagValue)
public final void set(int tagId, byte value)
public final void set(int tagId, int occurrence, byte value)
public final void setAtIndex(int index, byte value)
public final void set(int tagId, char value)
public final void set(int tagId, int occurrence, char value)
public final void setAtIndex(int index, char value)
public final void set(int tagId, byte[] value)
public final void set(int tagId, int occurrence, byte[] value)
public final void setAtIndex(int index, byte[] value)
public final void set(int tagId, byte[] value, int offset, int length)
public final void set(int tagId, int occurrence, byte[] value, int offset, int length)
public final void setAtIndex(int index, byte[] value, int offset, int length)
public final void set(int tagId, long value)
public final void set(int tagId, int occurrence, long value)
public final void setAtIndex(int index, long value)
public final void set(int tagId, int value)
public final void set(int tagId, int occurrence, int value)
public final void setAtIndex(int index, int value)
public final void set(int tagId, double value, int precision)
public final void set(int tagId, int occurrence, double value, int precision)
public final void setAtIndex(int index, double value, int precision)
public final void set(int tagId, StringBuffer value)
public final void set(int tagId, CharSequence value)
public final void set(int tagId, int occurrence, CharSequence value)
public final void setAtIndex(int tagIndex, CharSequence value)
public final void set(int tagId, boolean value)
public final void set(int tagId, int occurrence, boolean value)
public final void setAtIndex(int index, boolean value)
public final void set(TagValue value)
public final void set(int occurrence, TagValue value)
public final void setAtIndex(int tagIndex, TagValue value)
public final void set(int tagId, String value)
public final void set(int tagId, int occurrence, String value)
public final void setAtIndex(int index, String value)
public final void set(int tagId, Calendar value, FIXDateFormatterFactory.FIX_DATE_TYPE type)
public final void set(int tagId, int occurrence, Calendar value, FIXDateFormatterFactory.FIX_DATE_TYPE type)
public final void setAtIndex(int index, Calendar value, FIXDateFormatterFactory.FIX_DATE_TYPE type)
public final void set(int tagId, Period value)
public final void set(int tagId, Period value, TenorPrecision precision)
public final void set(int tagId, int occurrence, Period value)
public final void set(int tagId, int occurrence, Period value, TenorPrecision precision)
public final void setAtIndex(int index, Period value, TenorPrecision precision)
public final int getMsgType(byte[] msgType)
@Deprecated public final byte[] getMsgType()
@Deprecated public final byte[] getBytes(int tagId)
tagId
- public final FIXVersion getMsgVersion()
IllegalArgumentException
- if version is invalid.public final long getMsgSeqNumber()
Copyright © 2000–2022 EPAM Systems. All rights reserved.