public class LOBBatchQueryWrapper extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean[] |
allLOBAttributes |
protected List<DbAttribute> |
dbAttributes |
protected boolean |
hasNext |
protected boolean[] |
qualifierAttributes |
protected BatchQuery |
query |
protected Object[] |
updatedLOBAttributes |
Constructor and Description |
---|
LOBBatchQueryWrapper(BatchQuery query) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
convertToBlobValue(Object value)
Converts value to byte[] if possible.
|
protected Object |
convertToClobValue(Object value)
Converts to char[] or String.
|
List<DbAttribute> |
getDbAttributesForLOBSelectQualifier()
Returns a list of DbAttributes used in the qualifier of the query that selects a
LOB row for LOB update.
|
List<DbAttribute> |
getDbAttributesForUpdatedLOBColumns()
Returns a list of DbAttributes that correspond to the LOB columns updated in the
current row in the batch query.
|
BatchQuery |
getQuery()
Returns wrapped BatchQuery.
|
List |
getValuesForLOBSelectQualifier() |
List |
getValuesForUpdatedLOBColumns() |
protected void |
indexLOBAttributes()
Indexes attributes
|
protected void |
indexQualifierAttributes()
Indexes attributes
|
boolean |
next() |
protected BatchQuery query
protected List<DbAttribute> dbAttributes
protected boolean[] qualifierAttributes
protected boolean[] allLOBAttributes
protected Object[] updatedLOBAttributes
protected boolean hasNext
public LOBBatchQueryWrapper(BatchQuery query)
public boolean next()
protected void indexQualifierAttributes()
protected void indexLOBAttributes()
protected byte[] convertToBlobValue(Object value)
protected Object convertToClobValue(Object value)
public List<DbAttribute> getDbAttributesForLOBSelectQualifier()
public List<DbAttribute> getDbAttributesForUpdatedLOBColumns()
public List getValuesForLOBSelectQualifier()
public List getValuesForUpdatedLOBColumns()
public BatchQuery getQuery()
Copyright © 2001–2014 Apache Cayenne. All rights reserved.