public abstract class RecordMapping extends Object
T getXXX(RecordCursor cursor)
and
void setXXX(RecordCursor cursor, T value)
for them.Modifier | Constructor and Description |
---|---|
protected |
RecordMapping(DataRecord record)
Creates record mapping for a specified record.
|
Modifier and Type | Method and Description |
---|---|
protected int |
findIntField(String localName,
boolean required) |
protected double |
getAsDouble(RecordCursor cursor,
int fieldId) |
protected int |
getAsInt(RecordCursor cursor,
int fieldId) |
protected long |
getAsLong(RecordCursor cursor,
int fieldId) |
protected long |
getAsTimeMillis(RecordCursor cursor,
int fieldId) |
protected int |
getAsTimeSeconds(RecordCursor cursor,
int fieldId) |
protected int |
getAsTinyDecimal(RecordCursor cursor,
int fieldId) |
protected long |
getAsWideDecimal(RecordCursor cursor,
int fieldId) |
Object |
getEventSymbolByQDSymbol(String qdSymbol) |
protected int |
getInt(RecordCursor cursor,
int intFieldIndex) |
protected long |
getLong(RecordCursor cursor,
int intFieldIndex) |
String |
getNonDefaultPropertyName(String localName)
|
protected Object |
getObj(RecordCursor cursor,
int objFieldIndex) |
String |
getQDSymbolByEventSymbol(Object symbol) |
DataRecord |
getRecord()
Returns data record that this record mapping works for.
|
protected void |
putNonDefaultPropertyName(String localName,
String propertyName)
Defines non-default property name in descendant classes constructors.
|
protected void |
setAsDouble(RecordCursor cursor,
int fieldId,
double value) |
protected void |
setAsInt(RecordCursor cursor,
int fieldId,
int value) |
protected void |
setAsLong(RecordCursor cursor,
int fieldId,
long value) |
protected void |
setAsTimeMillis(RecordCursor cursor,
int fieldId,
long value) |
protected void |
setAsTimeSeconds(RecordCursor cursor,
int fieldId,
int value) |
protected void |
setAsTinyDecimal(RecordCursor cursor,
int fieldId,
int value) |
protected void |
setAsWideDecimal(RecordCursor cursor,
int fieldId,
long value) |
protected void |
setInt(RecordCursor cursor,
int intFieldIndex,
int value) |
protected void |
setLong(RecordCursor cursor,
int intFieldIndex,
long value) |
protected void |
setObj(RecordCursor cursor,
int objFieldIndex,
Object value) |
protected RecordMapping(DataRecord record)
protected void putNonDefaultPropertyName(String localName, String propertyName)
public String getNonDefaultPropertyName(String localName)
null
if default.public final DataRecord getRecord()
getMapping(mappingClass)
method on
the resulting data record is equal to this mapping.protected final int getInt(RecordCursor cursor, int intFieldIndex)
protected final long getLong(RecordCursor cursor, int intFieldIndex)
protected final Object getObj(RecordCursor cursor, int objFieldIndex)
protected final void setInt(RecordCursor cursor, int intFieldIndex, int value)
protected final void setLong(RecordCursor cursor, int intFieldIndex, long value)
protected final void setObj(RecordCursor cursor, int objFieldIndex, Object value)
protected final int findIntField(String localName, boolean required)
protected final int getAsInt(RecordCursor cursor, int fieldId)
protected final long getAsLong(RecordCursor cursor, int fieldId)
protected final double getAsDouble(RecordCursor cursor, int fieldId)
protected final int getAsTinyDecimal(RecordCursor cursor, int fieldId)
protected final long getAsWideDecimal(RecordCursor cursor, int fieldId)
protected final void setAsInt(RecordCursor cursor, int fieldId, int value)
protected final void setAsLong(RecordCursor cursor, int fieldId, long value)
protected final void setAsDouble(RecordCursor cursor, int fieldId, double value)
protected final void setAsTinyDecimal(RecordCursor cursor, int fieldId, int value)
protected final void setAsWideDecimal(RecordCursor cursor, int fieldId, long value)
protected final int getAsTimeSeconds(RecordCursor cursor, int fieldId)
protected final void setAsTimeSeconds(RecordCursor cursor, int fieldId, int value)
protected final long getAsTimeMillis(RecordCursor cursor, int fieldId)
protected final void setAsTimeMillis(RecordCursor cursor, int fieldId, long value)
Copyright © 2002–2025 Devexperts LLC. All rights reserved.