E - - Entity classpublic class EntityList<E extends Entity> extends EntitiesBufferIndexed<E> implements Entities<E>, StatisticCollectorProvider, StatisticProvider
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
needRefresh |
| Constructor and Description |
|---|
EntityList(List<E> entities) |
EntityList(List<E> entities,
Class<E> clazz) |
calculateIndexes, filter, getKeys, getValues, init, isPrimaryKey, setPrimaryKey, sizeadd, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArrayequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculateIndexes, filter, findByteBuffer, findOne, forEachexists, mapadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streamtoJSONdelete, deleteCollection, deletePkEntity, deletePkEntity, findAll, findAll, findFieldsByPk, findFieldsByPk, findManyByPk, findManyByPk, findOneByPk, findOneByPk, findOneByPk, getPrimaryKeyGenerator, insert, insertAll, insertAll, nativeSelect, nativeSelect, nativeSelect, select, select, select, select, select, selectRelated, update, update, update, update, updateWholepublic boolean isTransactionActive()
isTransactionActive in interface Targetpublic boolean isLogQueriesEnabled()
isLogQueriesEnabled in interface Targetpublic <T> T aroundTransaction(Supplier<T> t)
aroundTransaction in interface Targetpublic <E1 extends Entity> E1 readEntity(QueryEntity<E1> query)
readEntity in interface QueryReceiverpublic <E1 extends Entity> Entities<E1> readEntityList(QueryEntity<E1> query)
readEntityList in interface QueryReceiverpublic <M extends Entity,F> F readField(QueryField<M,F> query)
readField in interface QueryReceiverpublic <O extends Entity,F> List<F> readFieldList(QueryField<O,F> query)
readFieldList in interface QueryReceiverpublic <F> List<F> readFieldList2(QueryField<E,F> query)
public PlateBuffer readPlateList(QueryPlate query)
readPlateList in interface QueryReceiverpublic <E extends Entity> int delete(QueryDelete<E> query, boolean transaction)
delete in interface QueryReceiverpublic <E extends Entity> int update(QueryUpdate<E> query, boolean transaction)
update in interface QueryReceiverpublic <E extends Entity> E insert(QueryInsert<E> query, boolean transaction)
insert in interface QueryReceiverpublic <E extends Entity> int delete(QueryDelete<E> query, Propagation propagation)
delete in interface QueryReceiverpublic <E extends Entity> int update(QueryUpdate<E> query, Propagation propagation)
update in interface QueryReceiverpublic <E extends Entity> E insert(QueryInsert<E> query, Propagation propagation)
insert in interface QueryReceiverpublic boolean isConnectedToDatabase()
isConnectedToDatabase in interface Targetpublic OpenedTransactionTarget beginTransaction()
beginTransaction in interface Targetpublic Entities<E> findMany()
findMany in interface EntitiesProvider<E extends Entity>public Optional<E> findFirst()
findFirst in interface EntitiesProvider<E extends Entity>public long countAny()
countAny in interface EntitiesProvider<E extends Entity>public void refreshImmediately()
refreshImmediately in interface Entities<E extends Entity>public void markRefreshCache()
markRefreshCache in interface Entities<E extends Entity>public Plate readPlate(QueryPlate query)
readPlate in interface QueryReceiverpublic org.slf4j.Logger getLog()
getLog in interface ILoggerBeanpublic String toJSON()
toJSON in interface JsonHandlertoJSON in interface JsonListHandlerpublic String toUpdateSQL(DataBaseTarget target)
public StatisticCollector getStatisticCollector()
getStatisticCollector in interface StatisticCollectorProviderpublic boolean isStatisticCollectingEnabled()
isStatisticCollectingEnabled in interface StatisticCollectorProviderpublic void enableStatisticCollecting(boolean statisticEnabled)
enableStatisticCollecting in interface StatisticCollectorProviderpublic <E extends Entity> String toSqlQuery(Query<E,?> query)
toSqlQuery in interface QueryReceiverpublic Entities<StatisticRecord> getStatistics()
getStatistics in interface StatisticProviderCopyright © 2021. All rights reserved.