Uses of Interface
net.java.ao.RawEntity
Packages that use RawEntity
Package
Description
-
Uses of RawEntity in net.java.ao
Classes in net.java.ao with type parameters of type RawEntityModifier and TypeClassDescriptionclassEntityProxy<T extends RawEntity<K>,K> interfaceEntityStreamCallback<T extends RawEntity<K>,K> classReadOnlyEntityProxy<T extends RawEntity<K>,K> A read-only representation of a database row proxy, mapped to the specified Entity type.Subinterfaces of RawEntity in net.java.aoModifier and TypeInterfaceDescriptioninterfaceA specific extension ofRawEntityproviding theEntity.getID()method.Methods in net.java.ao with type parameters of type RawEntityModifier and TypeMethodDescription<T extends RawEntity<K>,K>
voidCreates and INSERTs a batch of new entities represented byrowsof the given type.<T extends RawEntity<K>,K>
TCreates and INSERTs a new entity of the specified type with the given map of parameters.<T extends RawEntity<K>,K>
TCreates a new entity of the specified type with the optionally specified initial parameters.static <T extends RawEntity<K>,K>
TCommon.createPeer(EntityManager manager, Class<T> type, K key) protected <T extends RawEntity<K>,K>
KDatabaseProvider.executeInsertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, String sql, DBParam... params) Delegate method to execute an INSERT statement returning any auto-generated primary key values.<T extends RawEntity<K>,K>
T[]Returns all entities of the given type.<T extends RawEntity<K>,K>
T[]Convenience method to select all entities of the given type with the specified, parameterized criteria.<T extends RawEntity<K>,K>
T[]Selects all entities of the specified type which match the givenQuery.<T extends RawEntity<K>,K>
T[]Selects all entities matching the given type andQuery.<T extends RawEntity<K>,K>
TEntityManager.findSingleEntity(Class<T> type, String criteria, Object... parameters) Convenience method to select a single entity of the given type with the specified, parameterized criteria.<T extends RawEntity<K>,K>
T[]EntityManager.findWithSQL(Class<T> type, String keyField, String sql, Object... parameters) Executes the specified SQL and extracts the given key field, wrapping each row into a instance of the specified type.<T extends RawEntity<K>,K>
TCleverly overloaded method to return a single entity of the specified type rather than an array in the case where only one ID is passed.<T extends RawEntity<K>,K>
T[]Returns an array of entities of the specified type corresponding to the varargs primary keys.protected <T extends RawEntity<K>,K>
TEntityManager.getAndInstantiate(EntityInfo<T, K> entityInfo, K key) Creates a new instance of the entity of the specified type corresponding to the given primary key.RawEntity.getEntityType()Returns the actualClassinstance which corresponds to the original entity interface.<T extends RawEntity<K>,K>
voidDatabaseProvider.insertBatch(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, List<Map<String, Object>> rows) Inserts a batch of rows.<T extends RawEntity<K>,K>
KDatabaseProvider.insertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, DBParam... params) Generates an INSERT statement to be used to create a new row in the database, returning the primary key value.protected <T extends RawEntity<K>,K>
TEntityManager.peer(EntityInfo<T, K> entityInfo, K key) protected <T extends RawEntity<K>,K>
T[]EntityManager.peer(EntityInfo<T, K> entityInfo, K... keys) protected <T extends RawEntity<K>,K>
EntityInfo<T,K> EntityManager.resolveEntityInfo(Class<T> type) <T extends RawEntity<K>,K>
voidEntityManager.stream(Class<T> type, EntityStreamCallback<T, K> streamCallback) Optimised read for large datasets.<T extends RawEntity<K>,K>
voidEntityManager.stream(Class<T> type, Query query, EntityStreamCallback<T, K> streamCallback) Selects all entities of the given type and feeds them to the callback, one by one.Methods in net.java.ao that return RawEntityModifier and TypeMethodDescription<T extends RawEntity<K>,K>
T[]Returns all entities of the given type.<T extends RawEntity<K>,K>
T[]Convenience method to select all entities of the given type with the specified, parameterized criteria.<T extends RawEntity<K>,K>
T[]Selects all entities of the specified type which match the givenQuery.<T extends RawEntity<K>,K>
T[]Selects all entities matching the given type andQuery.<T extends RawEntity<K>,K>
T[]EntityManager.findWithSQL(Class<T> type, String keyField, String sql, Object... parameters) Executes the specified SQL and extracts the given key field, wrapping each row into a instance of the specified type.<T extends RawEntity<K>,K>
T[]Returns an array of entities of the specified type corresponding to the varargs primary keys.protected <T extends RawEntity<K>,K>
T[]EntityManager.peer(EntityInfo<T, K> entityInfo, K... keys) Methods in net.java.ao that return types with arguments of type RawEntityModifier and TypeMethodDescriptionQuery.getJoins()Query.getTableType()Retrieves the entity type which corresponds to the given polymorphic type flag value as a subtype of the specified parent entity type.Methods in net.java.ao with parameters of type RawEntityModifier and TypeMethodDescriptionvoidDeletes the specified entities from the database.booleanEntityProxy.equalsImpl(RawEntity<K> proxy, Object obj) booleanReadOnlyEntityProxy.equalsImpl(RawEntity<K> proxy, Object obj) voidDeprecated.since 0.25.static <K> KCommon.getPrimaryKeyValue(RawEntity<K> entity) voidMethod parameters in net.java.ao with type arguments of type RawEntityModifier and TypeMethodDescriptionRetrieves the polymorphic type flag value which corresponds to the specified type.<K> intCounts all entities of the specified type.<K> intCounts all entities of the specified type matching the given criteria and parameters.<K> intCounts all entities of the specified type matching the givenQueryinstance.<K> intEntityManager.deleteWithSQL(Class<? extends RawEntity<K>> type, String criteria, Object... parameters) Deletes rows from the table corresponding totype.<K> intEntityManager.getFastCountEstimate(Class<? extends RawEntity<K>> type) Gives an approximate count of all entities of the specified type to avoid performance issues.static String[]Common.getMappingFields(FieldNameConverter converter, Class<? extends RawEntity<?>> from, Class<? extends RawEntity<?>> to) Deprecated.static String[]Common.getPolymorphicFieldNames(FieldNameConverter converter, Class<? extends RawEntity<?>> from, Class<? extends RawEntity<?>> to) Deprecated.static <K> Class<K>Common.getPrimaryKeyClassType(Class<? extends RawEntity<K>> type) static StringCommon.getPrimaryKeyField(Class<? extends RawEntity<?>> type, FieldNameConverter converter) static <K> TypeInfo<K>Common.getPrimaryKeyType(TypeManager typeManager, Class<? extends RawEntity<K>> type) Common.getSearchableFields(EntityManager manager, Class<? extends RawEntity<?>> type) Common.getValueFieldsMethods(Class<? extends RawEntity<?>> entity, FieldNameConverter converter) Gets all the methods of an entity that correspond to a value field.static com.google.common.collect.ImmutableSet<String>Common.getValueFieldsNames(EntityInfo<? extends RawEntity<?>, ?> entityInfo, FieldNameConverter converter) Gets all the names of fields of an entity that correspond to a value field.Retrieves the entity type which corresponds to the given polymorphic type flag value as a subtype of the specified parent entity type.voidvoidQuery.setTableType(Class<? extends RawEntity<?>> tableType) protected <K> StringQuery.toSQL(EntityInfo<? extends RawEntity<K>, K> entityInfo, DatabaseProvider provider, TableNameConverter converter, boolean count) Constructor parameters in net.java.ao with type arguments of type RawEntityModifierConstructorDescriptionDefaultPolymorphicTypeMapper(Map<Class<? extends RawEntity<?>>, String> mappings) Creates a new instance with the specified {type => flag} mappings. -
Uses of RawEntity in net.java.ao.atlassian
Method parameters in net.java.ao.atlassian with type arguments of type RawEntity -
Uses of RawEntity in net.java.ao.db
Methods in net.java.ao.db with type parameters of type RawEntityModifier and TypeMethodDescriptionprotected <T extends RawEntity<K>,K>
KHSQLDatabaseProvider.executeInsertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, String sql, DBParam... params) protected <T extends RawEntity<K>,K>
KOracleDatabaseProvider.executeInsertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, String sql, DBParam... params) protected <T extends RawEntity<K>,K>
KPostgreSQLDatabaseProvider.executeInsertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, String sql, DBParam... params) <T extends RawEntity<K>,K>
voidHSQLDatabaseProvider.insertBatch(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, List<Map<String, Object>> rows) HSQL doesn't support batch insert.<T extends RawEntity<K>,K>
KHSQLDatabaseProvider.insertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, DBParam... params) <T extends RawEntity<K>,K>
KPostgreSQLDatabaseProvider.insertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, DBParam... params) <T extends RawEntity<K>,K>
KSQLServerDatabaseProvider.insertReturningKey(EntityManager manager, Connection conn, Class<T> entityType, Class<K> pkType, String pkField, boolean pkIdentity, String table, DBParam... params) -
Uses of RawEntity in net.java.ao.schema
Method parameters in net.java.ao.schema with type arguments of type RawEntityModifier and TypeMethodDescriptionfinal StringGets the name of the table either from theTable annotationif present or from thedelegate.Generates a table name to correspond with the specified class.static DDLField[]SchemaGenerator.parseFields(DatabaseProvider provider, FieldNameConverter fieldConverter, Class<? extends RawEntity<?>> clazz) Not intended for public usage.static DDLTableSchemaGenerator.parseInterface(DatabaseProvider provider, NameConverters nameConverters, Class<? extends RawEntity<?>> clazz) Not intended for public use. -
Uses of RawEntity in net.java.ao.schema.helper
Method parameters in net.java.ao.schema.helper with type arguments of type RawEntityModifier and TypeMethodDescriptionbooleanDatabaseMetaDataReader.isTablePresent(DatabaseMetaData databaseMetaData, Class<? extends RawEntity<?>> type) Checks if the table corresponding to given type exists in the database.booleanDatabaseMetaDataReaderImpl.isTablePresent(DatabaseMetaData databaseMetaData, Class<? extends RawEntity<?>> type) -
Uses of RawEntity in net.java.ao.schema.index
Method parameters in net.java.ao.schema.index with type arguments of type RawEntity -
Uses of RawEntity in net.java.ao.schema.info
Classes in net.java.ao.schema.info with type parameters of type RawEntityModifier and TypeInterfaceDescriptioninterfaceEntityInfo<T extends RawEntity<K>,K> A description of the table generated by theRawEntityMethods in net.java.ao.schema.info with type parameters of type RawEntityModifier and TypeMethodDescription<T extends RawEntity<K>,K>
EntityInfo<T,K> <T extends RawEntity<K>,K>
EntityInfo<T,K> <T extends RawEntity<K>,K>
EntityInfo<T,K> <T extends RawEntity<K>,K>
EntityInfo<T,K> -
Uses of RawEntity in net.java.ao.types
Methods in net.java.ao.types with type parameters of type RawEntityModifier and TypeMethodDescriptionstatic <K,T extends RawEntity<K>>
LogicalType<T>LogicalTypes.entityType(Class<T> entityClass, TypeInfo<K> primaryKeyTypeInfo, Class<K> primaryKeyClass)