public final class RecordMode extends Object
RecordBuffer
and RecordCursor
classes.Modifier and Type | Field and Description |
---|---|
static RecordMode |
DATA
Store all integer and objects field values.
|
static RecordMode |
FLAGGED_DATA
Store all integer and objects field values with an additional int event flags for each data record.
|
static RecordMode |
HISTORY_SUBSCRIPTION
Story only first two integer field values (time) for records
that have
time and no object field values. |
static RecordMode |
MARKED_DATA
Store all integer and objects field values with an additional int time mark for each data record.
|
static RecordMode |
SUBSCRIPTION
Store no integer and no object field values.
|
static RecordMode |
TIMESTAMPED_DATA
Store all integer and objects field values with an additional long event time for each data record.
|
Modifier and Type | Method and Description |
---|---|
static RecordMode |
addedSubscriptionFor(QDContract contract)
Returns record mode that is used for added subscription of the specified contract.
|
boolean |
hasAttachment()
Returns
true when this mode keeps additional object attachment with each data record. |
boolean |
hasData()
Returns
true when this mode stores all record's integer and object field values. |
boolean |
hasEventFlags()
Returns
true when this mode keeps additional event flags with each data record. |
boolean |
hasEventTimeSequence()
Returns
true when this mode keeps additional event time sequence with each data record. |
boolean |
hasLink()
Returns
true when this mode keeps additional link to other record with each data record. |
boolean |
hasTimeMark()
Returns
true when this mode keeps additional integer time mark with each data record. |
boolean |
isSubsetOf(RecordMode mode)
Returns
true when this mode is the same or represents a subset of information from the other mode. |
String |
toString()
Returns a string representation of the object.
|
RecordMode |
withAttachment()
Returns mode with additional object attachment in each data record.
|
RecordMode |
withEventFlags()
Returns mode with an additional event flags with each data record.
|
RecordMode |
withEventTimeSequence()
Returns mode with an additional event time sequence with each data record.
|
RecordMode |
withLink()
Returns mode with additional link to other record with each data record.
|
RecordMode |
withTimeMark()
Returns mode with an additional integer time mark with each data record.
|
public static final RecordMode DATA
public static final RecordMode HISTORY_SUBSCRIPTION
time
and no object field values.public static final RecordMode SUBSCRIPTION
public static final RecordMode FLAGGED_DATA
public static final RecordMode MARKED_DATA
public static final RecordMode TIMESTAMPED_DATA
public static RecordMode addedSubscriptionFor(QDContract contract)
SUBSCRIPTION
mode.contract
- the contract.public boolean isSubsetOf(RecordMode mode)
true
when this mode is the same or represents a subset of information from the other mode.
For example, SUBSCRIPTION
is a subset of all other modes.public boolean hasData()
true
when this mode stores all record's integer and object field values.public boolean hasEventFlags()
true
when this mode keeps additional event flags with each data record.public RecordMode withEventFlags()
RecordCursor.hasEventFlags()
,
RecordCursor.getEventFlags()
,
RecordCursor.setEventFlags(int)
public boolean hasTimeMark()
true
when this mode keeps additional integer time mark with each data record.public RecordMode withTimeMark()
RecordCursor.hasTimeMark()
,
RecordCursor.getTimeMark()
,
RecordCursor.setTimeMark(int)
,
TimeMarkUtil
public boolean hasEventTimeSequence()
true
when this mode keeps additional event time sequence with each data record.public RecordMode withEventTimeSequence()
RecordCursor.hasEventTimeSequence()
,
RecordCursor.getEventTimeSequence()
,
RecordCursor.setEventTimeSequence(long)
,
TimeSequenceUtil
public boolean hasLink()
true
when this mode keeps additional link to other record with each data record.public RecordMode withLink()
RecordCursor.hasLink()
,
RecordCursor.setLinkTo(long)
,
RecordCursor.isUnlinked()
,
RecordBuffer.unlinkFrom(long)
public boolean hasAttachment()
true
when this mode keeps additional object attachment with each data record.public RecordMode withAttachment()
RecordCursor.hasAttachment()
,
RecordCursor.getAttachment()
,
RecordCursor.setAttachment(Object)
Copyright © 2002–2025 Devexperts LLC. All rights reserved.