| Modifier and Type | Field and Description |
|---|---|
| protected transient boolean | isPopulatingObject
Indicates that the whole object is being populated. |
| protected transient boolean | shouldKeepValues
Indicates whether the values requested while populating object (isPopulatingObject == true) should be saved in valuesArray |
| protected transient boolean | shouldUseOptimization
Indicates whether to use optimization while getting values from result set instead of calling accessor.getObject method. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | SimpleResultSetRecord(Vector<E> fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, DatabaseAccessor accessor, AbstractSession session, DatabasePlatform platform, boolean optimizeData)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | get(DatabaseField key)
Overrides org. |
| public Object | getIndicatingNoEntry(DatabaseField key)
Overrides org. |
| protected Object | |
| public boolean | |
| public boolean | |
| public void | loadAllValuesFromResultSet()
Overrides org. |
| public void | |
| public void | |
| public void | |
| public void | setSopObject(Object sopObject)
Overrides org. |
| public boolean | |
| public boolean | |
| protected String |
| isPopulatingObject | back to summary |
|---|---|
| protected transient boolean isPopulatingObject Indicates that the whole object is being populated. At first the primary key is extracted from the row - to see if the object with the same pk is already in the cache. Then in case of refresh the locking field value is extracted, too. Indication of the object being populated from the record (looping through all the mappings) is request for a value, which has been already returned before (usually primary key, but may be version). At this point the flag is set to true. | |
| shouldKeepValues | back to summary |
|---|---|
| protected transient boolean shouldKeepValues Indicates whether the values requested while populating object (isPopulatingObject == true) should be saved in valuesArray | |
| shouldUseOptimization | back to summary |
|---|---|
| protected transient boolean shouldUseOptimization Indicates whether to use optimization while getting values from result set instead of calling accessor.getObject method. | |
| SimpleResultSetRecord | back to summary |
|---|---|
| protected SimpleResultSetRecord() | |
| SimpleResultSetRecord | back to summary |
|---|---|
| public SimpleResultSetRecord(Vector<E> fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, DatabaseAccessor accessor, AbstractSession session, DatabasePlatform platform, boolean optimizeData) | |
| get | back to summary |
|---|---|
| public Object get(DatabaseField key) Overrides org. INTERNAL: Retrieve the value for the field. If missing null is returned.
| |
| getIndicatingNoEntry | back to summary |
|---|---|
| public Object getIndicatingNoEntry(DatabaseField key) Overrides org. INTERNAL: Retrieve the value for the field. If missing DatabaseRow.noEntry is returned. PERF: This method is a clone of get() for performance.
| |
| getValueFromResultSet | back to summary |
|---|---|
| protected Object getValueFromResultSet(int index, DatabaseField field) | |
| hasValues | back to summary |
|---|---|
| public boolean hasValues() | |
| isPopulatingObject | back to summary |
|---|---|
| public boolean isPopulatingObject() | |
| loadAllValuesFromResultSet | back to summary |
|---|---|
| public void loadAllValuesFromResultSet() Overrides org. Obtains all the value from resultSet and removes it. resultSet must be non null.
| |
| reset | back to summary |
|---|---|
| public void reset() | |
| setShouldKeepValues | back to summary |
|---|---|
| public void setShouldKeepValues(boolean shouldKeepValues) | |
| setShouldUseOptimization | back to summary |
|---|---|
| public void setShouldUseOptimization(boolean shouldUseOptimization) | |
| setSopObject | back to summary |
|---|---|
| public void setSopObject(Object sopObject) Overrides org. Doc from org. INTERNAL:
| |
| shouldKeepValues | back to summary |
|---|---|
| public boolean shouldKeepValues() | |
| shouldUseOptimization | back to summary |
|---|---|
| public boolean shouldUseOptimization() | |
| toStringAditional | back to summary |
|---|---|
| protected String toStringAditional() Overrides org.
| |