K
- T
- public abstract class SuperfastRecordTemplate<K,T extends net.java.ao.RawEntity<K>> extends RecordTemplateImpl<K,T>
Modifier and Type | Field and Description |
---|---|
private List<Object> |
primaryKey |
primaryFieldsProxy, type, values
Constructor and Description |
---|
SuperfastRecordTemplate(Class<T> type) |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getIndexKey() |
abstract List<Object> |
getIndexKey(T entity)
IF if if the record will always be searched using a given primary key, then
return the primary key in order to build an index.
|
void |
setPrimaryKey(Consumer<T> callback)
Use this method to set the primary key of the record - Those fields will be used in the queries for example.
|
clear, create, createOrUpdate, fieldsToOverride, fieldsToWriteIfNull, getRecordMatcher, getTableFields, primaryFields, searchFirst, setAll, setFieldsIfNull, setFieldsOverwrite, setGetterMethodsCache, setParentDAOCache, toString
public abstract List<Object> getIndexKey(T entity)
public void setPrimaryKey(Consumer<T> callback)
RecordTemplate
setPrimaryKey
in interface RecordTemplate<T extends net.java.ao.RawEntity<K>>
setPrimaryKey
in class RecordTemplateImpl<K,T extends net.java.ao.RawEntity<K>>
Copyright © 2022 Requirement Yogi. All rights reserved.