|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRecordValue
Represents a record value.
Method Summary | |
---|---|
IRecordValue |
clone(Map<Object,Object> cloneMap)
Override to specialize return type. |
int |
getFieldCount()
Gets the number of fields in this record. |
IValue |
getFieldValue(int fieldIndex)
Gets a record field's value. |
IValueArray |
getFieldValues()
|
ILockValue |
getLockValue()
Gets the lock value of this record. |
byte[][] |
linearize(int bitsPerNonPrimitiveValue,
ObjectIntTable<INonPrimitiveValue> nonPrimitiveValueIdMap,
int bitsPerThreadId,
IntIntTable threadOrderMap)
Linearizes this record value. |
void |
setFieldValue(int fieldIndex,
IValue fieldValue)
Sets a record field's value. |
String |
toVerboseString()
Gets the verbose string representation of this record. |
Methods inherited from interface edu.ksu.cis.projects.bogor.module.value.INonPrimitiveValue |
---|
getReferenceId |
Methods inherited from interface edu.ksu.cis.projects.bogor.module.value.IValue |
---|
equals, getType, getTypeId, hashCode, toString, validate |
Methods inherited from interface edu.ksu.cis.projects.bogor.util.Disposable |
---|
dispose |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
int getFieldCount()
void setFieldValue(int fieldIndex, IValue fieldValue)
fieldIndex
- The index of the field in this record. Must be greater than
zero and less than the field count of this record.fieldValue
- The new value of the field. Must be non-null.RecordType.getFieldIndex(String)
IValue getFieldValue(int fieldIndex)
fieldIndex
- The index of the field in this record. Must be greater than
zero and less than the field count of this record.
RecordType.getFieldIndex(String)
IValueArray getFieldValues()
ILockValue getLockValue()
byte[][] linearize(int bitsPerNonPrimitiveValue, ObjectIntTable<INonPrimitiveValue> nonPrimitiveValueIdMap, int bitsPerThreadId, IntIntTable threadOrderMap)
bitsPerNonPrimitiveValue
- The number of bits used to encode a non-primitive value.nonPrimitiveValueIdMap
- A mapping of non-primitive values to their unique id. Must be
non-null.bitsPerThreadId
- The number of bits used to encode a thread descriptor.threadOrderMap
- A mapping of thread descriptors to their order number. Must be
non-null.
String toVerboseString()
IRecordValue clone(Map<Object,Object> cloneMap)
clone
in interface INonPrimitiveValue
clone
in interface IValue
cloneMap
- Original values (IValue
) to their clones (
IValue
) mapping. The clone map to solve
circular references in values. If this value is a key in the
map, then this method returns the value of the key in the map.
Must be non-null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |