public interface SQLListener
Modifier and Type | Method and Description |
---|---|
void |
notifyDelete(RelationalPath<?> entity,
QueryMetadata md)
Notify about a deletion
|
void |
notifyDeletes(RelationalPath<?> entity,
List<QueryMetadata> batches)
Notify about a batch deletion
|
void |
notifyInsert(RelationalPath<?> entity,
QueryMetadata md,
List<Path<?>> columns,
List<Expression<?>> values,
SubQueryExpression<?> subQuery)
Notify about an insertion
|
void |
notifyInserts(RelationalPath<?> entity,
QueryMetadata md,
List<SQLInsertBatch> batches)
Notify about a batch insertion
|
void |
notifyMerge(RelationalPath<?> entity,
QueryMetadata md,
List<Path<?>> keys,
List<Path<?>> columns,
List<Expression<?>> values,
SubQueryExpression<?> subQuery)
Notify about a merge
|
void |
notifyMerges(RelationalPath<?> entity,
QueryMetadata md,
List<SQLMergeBatch> batches)
Notify about a batch merge
|
void |
notifyQuery(QueryMetadata md)
Notify about a query
|
void |
notifyUpdate(RelationalPath<?> entity,
QueryMetadata md,
Map<Path<?>,Expression<?>> updates)
Notify about an update operation
|
void |
notifyUpdates(RelationalPath<?> entity,
List<SQLUpdateBatch> batches)
Notify about a batch update
|
void notifyQuery(QueryMetadata md)
md
- metadata of the queryvoid notifyDelete(RelationalPath<?> entity, QueryMetadata md)
entity
- table to be deleted frommd
- metadata of deletionvoid notifyDeletes(RelationalPath<?> entity, List<QueryMetadata> batches)
entity
- table to be deleted frombatches
- metadata of batchesvoid notifyMerge(RelationalPath<?> entity, QueryMetadata md, List<Path<?>> keys, List<Path<?>> columns, List<Expression<?>> values, SubQueryExpression<?> subQuery)
entity
- table to be mergedmd
- metadata of mergekeys
- key columnscolumns
- columns to be updated/insertedvalues
- valuessubQuery
- optional sub queryvoid notifyMerges(RelationalPath<?> entity, QueryMetadata md, List<SQLMergeBatch> batches)
entity
- table to be mergedmd
- metadata of mergebatches
- metadata of batchesvoid notifyInsert(RelationalPath<?> entity, QueryMetadata md, List<Path<?>> columns, List<Expression<?>> values, SubQueryExpression<?> subQuery)
entity
- table to be inserted intomd
- metadata of insertioncolumns
- columns to be inserted intovalues
- values to be inserted intosubQuery
- optional sub queryvoid notifyInserts(RelationalPath<?> entity, QueryMetadata md, List<SQLInsertBatch> batches)
entity
- table to be inserted intomd
- metadata of insertionbatches
- metadata of batchesvoid notifyUpdate(RelationalPath<?> entity, QueryMetadata md, Map<Path<?>,Expression<?>> updates)
entity
- table to be updatedmd
- metadata of updateupdates
- metadata of batchesvoid notifyUpdates(RelationalPath<?> entity, List<SQLUpdateBatch> batches)
entity
- table to be updatedbatches
- metadata of batchesCopyright © 2007–2016 Querydsl. All rights reserved.