public abstract class GridBuffer extends JotyDataBuffer
TableTerm
class
and by GridManager
class to associate a buffer to the managed
Table
instance.
It makes available tool methods that either help building the record descriptor or help building the actual record of the buffer, by exposing a re-usability on different part of it, that is ordinary data fields, key fields explicitly embedded in buffer for special purposes.
TableTerm
,
GridManager
,
Table
JotyDataBuffer.IdsStock, JotyDataBuffer.QueueManager, JotyDataBuffer.Record
m_cursorPos, m_descriptorBuilt, m_fieldNames, m_fieldNamesMap, m_fieldTypes, m_firstKeyPos, m_idsStocksMap, m_keyIndex, m_keyName, m_longKeyMap, m_maxRecord, m_queueManager, m_record, m_records, m_recPos, m_strKeyMap, m_textKey
Constructor and Description |
---|
GridBuffer() |
Modifier and Type | Method and Description |
---|---|
protected void |
acquireRecordDescriptorPart(WResultSet rs,
java.lang.Object vectorObj,
int initPos,
boolean sourcesAreTerms) |
protected void |
addWFieldElems(JotyDataBuffer.Record record,
java.util.Vector<org.joty.data.WrappedField> vector,
boolean checkKeyPos) |
protected abstract void |
buildRecord(JotyDataBuffer.Record record) |
protected void |
buildRecord(JotyDataBuffer.Record record,
WResultSet sourceRs) |
protected void |
getWFieldFromDataLayer(JotyDataBuffer.Record record,
WResultSet rs,
java.util.Vector<org.joty.data.WrappedField> vector,
int firstFieldPos,
boolean checkKeyPos) |
acquireRecordDescriptor, addFromDataLayer, buildRecordDescriptor, checkRecordDescriptor, colDescriptorIntoRecordDescriptor, copyFrom, createContextPostStatement, dateTimeValue, dateTimeValue, dateValue, dateValue, dblValue, dblValue, deleteRecord, empty, empty, getCellValue, getCellValue, getFieldIndex, getFieldType, getFromDataLayer, getKeyLongVal, getKeyLongVal, getKeyPos, getKeyPos, getKeyStrVal, getKeyVal, getKeyVal, getRecord, getValueForSql, getWField, getWField, getWField, inSetKeyCheck, integerValue, integerValue, intValue, isNull, isNull, keyIndex, keyIsText, loadData, loadData, loadData, loadDataBreak, loadDataProlog, longValue, newRecord, recordLookup, recordLookup, setCellValue, setInteger, setInteger, setKeyFieldName, setRowsQueuing, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, sngValue, sngValue, strValue, strValue, updateBuffIndex, wfield, wfield, wfield, wfield, writeRecord, writeRecord
protected void acquireRecordDescriptorPart(WResultSet rs, java.lang.Object vectorObj, int initPos, boolean sourcesAreTerms)
protected void addWFieldElems(JotyDataBuffer.Record record, java.util.Vector<org.joty.data.WrappedField> vector, boolean checkKeyPos)
protected abstract void buildRecord(JotyDataBuffer.Record record)
protected void buildRecord(JotyDataBuffer.Record record, WResultSet sourceRs)
buildRecord
in class JotyDataBuffer
protected void getWFieldFromDataLayer(JotyDataBuffer.Record record, WResultSet rs, java.util.Vector<org.joty.data.WrappedField> vector, int firstFieldPos, boolean checkKeyPos)