public class EntityByteBuffer<E extends Entity> extends BaseByteBuffer<E>
| Modifier and Type | Field and Description |
|---|---|
protected Class<E> |
entityClass |
additionalParameters, bitBufferedClasses, bitFieldOperations, bufferStatic, columnOrderIntoEntityHashMap, columns, columnsPositionsQueue, indexRepository, isIndexRepositoryEmpty, locations, pageMaxCapacity, pageMaxCapacityBytes, pages, removed, totalBufferActiveElements, totalBufferSize, totalEntitySpaceentityAny, log| Constructor and Description |
|---|
EntityByteBuffer(E entity) |
EntityByteBuffer(E entity,
int capacity) |
EntityByteBuffer(List<E> entities) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E entity) |
OpenedTransactionTarget |
beginTransaction() |
<E extends Entity> |
delete(QueryDelete<E> query,
boolean transaction) |
<E extends Entity> |
delete(QueryDelete<E> query,
Propagation propagation) |
List<E> |
finalFilter(Query<E,?> query) |
E |
get(int i) |
Plate |
getPlate(int i,
Collection<TableColumn> chosenColumns) |
List<Entity> |
getTables() |
<E extends Entity> |
insert(QueryInsert<E> query,
boolean transaction) |
<E extends Entity> |
insert(QueryInsert<E> query,
Propagation propagation) |
boolean |
isBuffer() |
boolean |
isConnectedToDatabase() |
boolean |
isLogQueriesEnabled() |
boolean |
isTransactionActive() |
<E extends Entity> |
readEntity(QueryEntity<E> query) |
<E1 extends Entity> |
readEntityList(QueryEntity<E1> query) |
<E extends Entity,F> |
readField(QueryField<E,F> query) |
<E extends Entity,F> |
readFieldList(QueryField<E,F> query) |
Plate |
readPlate(QueryPlate query) |
Plates |
readPlateList(QueryPlate query) |
void |
remove(int position) |
<E extends Entity> |
toSqlQuery(Query<E,?> query) |
<E extends Entity> |
update(QueryUpdate<E> query,
boolean transaction) |
<E extends Entity> |
update(QueryUpdate<E> query,
Propagation propagation) |
adjustForCapacity, determineBitField, determineIndex, filterUsingIndexes, finalFilter, finalFilterField, getBufferMemoryUsage, getBufferPositionOfColumn, getColumnIntoEntityPosition, getLog, getNextFreeLocation, getPages, getValue, getValueForColumnPosition, isBufferStatic, isEmpty, mayBeBitBuffered, mergeIfNecessary, setBufferStatic, sizeaddInterceptor, addInterceptorForAllEntities, afterDelete, afterInsert, afterUpdate, areInterceptorInUse, beforeDelete, beforeInsert, beforeUpdate, enableStatisticCollecting, getAccessProtector, getInterceptorsForEntity, getInterceptorsMap, getStatisticCollector, getStatistics, handleTransactionalTarget, isStatisticCollectingEnabled, setAccessProtectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, 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, updateWholearoundTransactionpublic EntityByteBuffer(E entity)
public EntityByteBuffer(E entity, int capacity)
public void remove(int position)
public boolean add(E entity)
public Plate getPlate(int i, Collection<TableColumn> chosenColumns)
getPlate in class BaseByteBuffer<E extends Entity>public E get(int i)
public <E extends Entity> E readEntity(QueryEntity<E> query)
public <E1 extends Entity> Entities<E1> readEntityList(QueryEntity<E1> query)
public <E extends Entity,F> F readField(QueryField<E,F> query)
public <E extends Entity,F> List<F> readFieldList(QueryField<E,F> query)
public Plate readPlate(QueryPlate query)
readPlate in interface QueryReceiverreadPlate in class BaseByteBuffer<E extends Entity>public Plates readPlateList(QueryPlate query)
readPlateList in interface QueryReceiverreadPlateList in class BaseByteBuffer<E extends Entity>public <E extends Entity> int delete(QueryDelete<E> query, boolean transaction)
delete in interface QueryReceiverdelete in class BaseByteBuffer<E extends Entity>public <E extends Entity> int update(QueryUpdate<E> query, boolean transaction)
update in interface QueryReceiverupdate in class BaseByteBuffer<E extends Entity>public <E extends Entity> E insert(QueryInsert<E> query, boolean transaction)
insert in interface QueryReceiverinsert in class BaseByteBuffer<E extends Entity>public <E extends Entity> int delete(QueryDelete<E> query, Propagation propagation)
delete in interface QueryReceiverdelete in class BaseByteBuffer<E extends Entity>public <E extends Entity> int update(QueryUpdate<E> query, Propagation propagation)
update in interface QueryReceiverupdate in class BaseByteBuffer<E extends Entity>public <E extends Entity> E insert(QueryInsert<E> query, Propagation propagation)
insert in interface QueryReceiverinsert in class BaseByteBuffer<E extends Entity>public boolean isBuffer()
public boolean isConnectedToDatabase()
isConnectedToDatabase in interface TargetisConnectedToDatabase in class BaseByteBuffer<E extends Entity>public OpenedTransactionTarget beginTransaction()
beginTransaction in interface TargetbeginTransaction in class BaseByteBuffer<E extends Entity>public boolean isTransactionActive()
isTransactionActive in interface TargetisTransactionActive in class BaseByteBuffer<E extends Entity>public boolean isLogQueriesEnabled()
isLogQueriesEnabled in interface TargetisLogQueriesEnabled in class BaseByteBuffer<E extends Entity>Copyright © 2021. All rights reserved.