- AbstractDao<ENTITY,BUILDER> - Class in org.hrorm
-
An abstract class that aids in creating full Dao
implementations.
- AbstractDao(Connection, KeylessDaoDescriptor<ENTITY, BUILDER>) - Constructor for class org.hrorm.AbstractDao
-
- AbstractDao(Connection, DaoDescriptor<ENTITY, BUILDER>) - Constructor for class org.hrorm.AbstractDao
-
- AbstractDaoBuilder<ENTITY,ENTITYBUILDER,B extends AbstractDaoBuilder<?,?,?>> - Class in org.hrorm
-
A base class for the various Dao building classes.
- AbstractDaoBuilder(String, Supplier<ENTITYBUILDER>, Function<ENTITYBUILDER, ENTITY>) - Constructor for class org.hrorm.AbstractDaoBuilder
-
- AbstractKeylessDaoBuilder<ENTITY,ENTITYBUILDER,B extends AbstractKeylessDaoBuilder<?,?,?>> - Class in org.hrorm
-
A base class for the various Dao building classes.
- AbstractKeylessDaoBuilder(String, Supplier<ENTITYBUILDER>, Function<ENTITYBUILDER, ENTITY>) - Constructor for class org.hrorm.AbstractKeylessDaoBuilder
-
- addAtom(WherePredicateTree.Conjunction, WherePredicate) - Method in class org.hrorm.WherePredicateTree
-
- addDataColumn(Column<?, ?, ENTITY, BUILDER>) - Method in class org.hrorm.ColumnCollection
-
- addJoinColumn(JoinColumn<ENTITY, ?, BUILDER, ?>) - Method in class org.hrorm.ColumnCollection
-
- addJoinedInstanceAndItsJoins(String, Envelope<JOINED>, Map<String, PopulateResult>) - Method in class org.hrorm.JoinedChildrenSelector
-
- addSubtree(WherePredicateTree.Conjunction, WherePredicateTree) - Method in class org.hrorm.WherePredicateTree
-
- addUniquenConstraint(String...) - Method in class org.hrorm.ColumnCollection
-
- allColumns() - Method in class org.hrorm.ColumnCollection
-
- allColumns(List<Column<?, ?, E, B>>, List<JoinColumn<E, ?, B, ?>>) - Static method in class org.hrorm.ColumnCollection
-
- allColumns() - Method in interface org.hrorm.KeylessDaoDescriptor
-
All the columns of the underlying table, both data type and join type.
- and(Where) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the passed argument with a logical and
operation.
- and(String, Operator, Long) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
- and(String, Operator, BigDecimal) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
- and(String, Operator, String) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
- and(String, Operator, Instant) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
- and(String, Operator, Boolean) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
- and(String, Operator, T, GenericColumn<T>) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical and.
- ascending(String...) - Static method in class org.hrorm.Order
-
To order things in an increasing direction by the passed columns.
- asGenericColumn() - Method in interface org.hrorm.Column
-
Returns a generic column instance that supports the underlying DBTYPE
- asGenericColumn() - Method in class org.hrorm.ColumnImpl
-
- asGenericColumn() - Method in class org.hrorm.DirectPrimaryKey
-
- asGenericColumn() - Method in class org.hrorm.IndirectPrimaryKey
-
- asGenericColumn() - Method in class org.hrorm.JoinColumn
-
- asGenericColumn() - Method in class org.hrorm.NoBackReferenceParentColumn
-
- asGenericColumn() - Method in class org.hrorm.ParentColumnImpl
-
- asList() - Method in class org.hrorm.WherePredicateTree
-
- Association<LEFT,RIGHT> - Class in org.hrorm
-
A simple tuple class that binds two objects.
- Association() - Constructor for class org.hrorm.Association
-
- AssociationDao<LEFT,RIGHT> - Interface in org.hrorm
-
A DAO that can find and persist associations between entities.
- AssociationDaoBuilder<LEFT,RIGHT> - Class in org.hrorm
-
- AssociationDaoBuilder(DaoDescriptor<LEFT, ?>, DaoDescriptor<RIGHT, ?>) - Constructor for class org.hrorm.AssociationDaoBuilder
-
Construct a new builder instance.
- AssociationDaoImpl<LEFT,LEFTBUILDER,RIGHT,RIGHTBUILDER> - Class in org.hrorm
-
Implementation of the AssociationDao
.
- AssociationDaoImpl(Dao<Association<LEFT, RIGHT>>, String, String, PrimaryKey<LEFT, LEFTBUILDER>, PrimaryKey<RIGHT, RIGHTBUILDER>) - Constructor for class org.hrorm.AssociationDaoImpl
-
- atomicDelete(ENTITY) - Method in interface org.hrorm.Dao
-
Run a delete statement in the database within a transaction.
- atomicDelete(ENTITY) - Method in class org.hrorm.DaoImpl
-
- atomicInsert(ENTITY) - Method in class org.hrorm.AbstractDao
-
- atomicInsert(ENTITY) - Method in interface org.hrorm.KeylessDao
-
Insert a record into the database within a transaction that is
managed within the Dao
.
- atomicUpdate(ENTITY) - Method in interface org.hrorm.Dao
-
Run an update statement to change the values in the database associated
with an existing record.
- atomicUpdate(ENTITY) - Method in class org.hrorm.DaoImpl
-
- AVG - Static variable in class org.hrorm.SqlFunction
-
To run the SQL AVG function on a column in a table.
- identity() - Static method in class org.hrorm.Converters
-
Produces an empty Converter
that does no transformations.
- Ignore - Static variable in class org.hrorm.PopulateResult
-
- inBigDecimal(String, List<BigDecimal>) - Static method in class org.hrorm.Where
-
Generates an IN
clause applying to the specified column and
including the passed list of numbers.
- inColumn(String, GenericColumn<T>, List<T>) - Static method in class org.hrorm.Where
-
Generates an IN
clause applying to the specified column and
including the passed list of elements.
- IndirectDaoBuilder<ENTITY,BUILDER> - Class in org.hrorm
-
An IndirectDaoBuilder
is used for times when the class representing
the persisted entity is immutable.
- IndirectDaoBuilder(String, Supplier<BUILDER>, Function<BUILDER, ENTITY>) - Constructor for class org.hrorm.IndirectDaoBuilder
-
Create a new IndirectDaoBuilder
instance.
- IndirectKeylessDaoBuilder<ENTITY,BUILDER> - Class in org.hrorm
-
An IndirectKeylessDaoBuilder
provides mechanisms for defining the relationship between
a Java type and the table that backs it.
- IndirectKeylessDaoBuilder(String, Supplier<BUILDER>, Function<BUILDER, ENTITY>) - Constructor for class org.hrorm.IndirectKeylessDaoBuilder
-
- IndirectPrimaryKey<ENTITY,BUILDER> - Class in org.hrorm
-
Primary key for an entity whose construction is indirect, i.e.
- IndirectPrimaryKey(String, String, String, Function<ENTITY, Long>, BiConsumer<BUILDER, Long>) - Constructor for class org.hrorm.IndirectPrimaryKey
-
- inInstant(String, List<Instant>) - Static method in class org.hrorm.Where
-
Generates an IN
clause applying to the specified column and
including the passed list of dates.
- inLong(String, List<Long>) - Static method in class org.hrorm.Where
-
Generates an IN
clause applying to the specified column and
including the passed list of numbers.
- insert(ENTITY) - Method in class org.hrorm.AbstractDao
-
- insert(ENTITY) - Method in class org.hrorm.DaoImpl
-
- insert(ENTITY) - Method in interface org.hrorm.KeylessDao
-
Insert a record into the database.
- insert(ENTITY) - Method in class org.hrorm.KeylessDaoImpl
-
- insert() - Method in interface org.hrorm.Queries
-
- insert() - Method in class org.hrorm.SqlBuilder
-
- insert(String, Envelope<ENTITY>) - Method in class org.hrorm.SqlRunner
-
- insertAssociation(LEFT, RIGHT) - Method in interface org.hrorm.AssociationDao
-
Persist a new association between two entities.
- insertAssociation(LEFT, RIGHT) - Method in class org.hrorm.AssociationDaoImpl
-
- INSTANT_TIMESTAMP_CONVERTER - Static variable in class org.hrorm.Converters
-
This Converter
translates between the Instant
class and the Timestamp
and is used by the built-in
support for Instant
.
- instantColumn(String, String, Function<ENTITY, Instant>, BiConsumer<BUILDER, Instant>, boolean) - Static method in class org.hrorm.DataColumnFactory
-
- InstantTypes - Static variable in class org.hrorm.ColumnTypes
-
- inString(String, List<String>) - Static method in class org.hrorm.Where
-
Generates an IN
clause applying to the specified column and
including the passed list of strings.
- INTEGER - Static variable in class org.hrorm.GenericColumn
-
An instance that supports Integer
or int
data elements.
- IntegerTypes - Static variable in class org.hrorm.ColumnTypes
-
- isBulkChildSelectStrategy() - Method in class org.hrorm.SelectionInstruction
-
- isEmpty() - Method in class org.hrorm.WherePredicateTree
-
- isJoinedItemResult() - Method in class org.hrorm.PopulateResult
-
- isNotNull(String) - Static method in class org.hrorm.Where
-
Creates a new object with a single predicate testing whether
a column is not null.
- isNull(String) - Static method in class org.hrorm.Where
-
Creates a new object with a single predicate testing whether
a column is null.
- isNullable() - Method in interface org.hrorm.Column
-
Indicator of whether or not this column is nullable or not.
- isNullable() - Method in class org.hrorm.ColumnImpl
-
- isNullable() - Method in class org.hrorm.DirectPrimaryKey
-
- isNullable() - Method in class org.hrorm.IndirectPrimaryKey
-
- isNullable() - Method in class org.hrorm.JoinColumn
-
- isNullable() - Method in class org.hrorm.NoBackReferenceParentColumn
-
- isNullable() - Method in class org.hrorm.ParentColumnImpl
-
- isParentColumn() - Method in interface org.hrorm.Column
-
Flag indicating whether this column represents a reference to a parent entity.
- isParentColumn() - Method in interface org.hrorm.ParentColumn
-
- isPrimaryKey() - Method in interface org.hrorm.Column
-
Flag indicating whether or not this column is the primary key of the table
- isPrimaryKey() - Method in class org.hrorm.DirectPrimaryKey
-
- isPrimaryKey() - Method in class org.hrorm.IndirectPrimaryKey
-
- isPrimaryKey() - Method in class org.hrorm.NoBackReferenceParentColumn
-
- isSelectAll() - Method in class org.hrorm.SelectionInstruction
-
- nextPrefix() - Method in class org.hrorm.Prefixer
-
- nextSequence() - Method in class org.hrorm.SqlBuilder
-
- NoBackReferenceParentColumn<ENTITY,PARENT,BUILDER,PARENTBUILDER> - Class in org.hrorm
-
Represents a reference from a child entity to its parent where the
child class has no reference to the parent.
- NoBackReferenceParentColumn(String, String) - Constructor for class org.hrorm.NoBackReferenceParentColumn
-
- nonJoinColumns() - Method in class org.hrorm.ColumnCollection
-
- nonJoinColumns(PrimaryKey<E, B>, ParentColumn<E, ?, B, ?>, List<Column<?, ?, E, B>>) - Static method in class org.hrorm.ColumnCollection
-
- nonJoinColumns() - Method in interface org.hrorm.KeylessDaoDescriptor
-
All the columns in the DAO, except those that represent joins
to other entities, including primary key and parent column.
- NoPrimaryKey - Static variable in class org.hrorm.PopulateResult
-
- NOT_EQUALS - Static variable in class org.hrorm.Operator
-
An instance that represents the inequality ('<>') operator.
- NOT_LIKE - Static variable in class org.hrorm.Operator
-
An instance that represents the 'NOT LIKE' operator to be used
for string fields.
- notInBigDecimal(String, List<BigDecimal>) - Static method in class org.hrorm.Where
-
Generates a NOT IN
clause applying to the specified column and
excluding the passed list of numbers.
- notInColumn(String, GenericColumn<T>, List<T>) - Static method in class org.hrorm.Where
-
Generates a NOT IN
clause applying to the specified column and
excluding the passed list of elements.
- notInInstant(String, List<Instant>) - Static method in class org.hrorm.Where
-
Generates a NOT IN
clause applying to the specified column and
excluding the passed list of dates.
- notInLong(String, List<Long>) - Static method in class org.hrorm.Where
-
Generates a NOT IN
clause applying to the specified column and
excluding the passed list of numbers.
- notInString(String, List<String>) - Static method in class org.hrorm.Where
-
Generates a NOT IN
clause applying to the specified column and
excluding the passed list of strings.
- notNull() - Method in class org.hrorm.AbstractDaoBuilder
-
Sets the most recent column added to this DaoBuilder to prevent it allowing
nulls on inserts or updates.
- notNull() - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Sets the most recent column added to this DaoBuilder to prevent it allowing
nulls on inserts or updates.
- notNull() - Method in interface org.hrorm.Column
-
Calling this method will enforce a not-null constraint on this column.
- notNull() - Method in class org.hrorm.ColumnImpl
-
- notNull() - Method in class org.hrorm.DirectPrimaryKey
-
- notNull() - Method in class org.hrorm.IndirectPrimaryKey
-
- notNull() - Method in class org.hrorm.JoinColumn
-
- notNull() - Method in class org.hrorm.NoBackReferenceParentColumn
-
- notNull() - Method in class org.hrorm.ParentColumnImpl
-
- ONE_ZERO_BOOLEAN_LONG_CONVERTER - Static variable in class org.hrorm.Converters
-
This Converter
translates true values to 1 and false values to 0.
- Operator - Class in org.hrorm
-
The Operator
type supports the generation of SQL statements
that specify the various comparisons allowed in SQL where clauses.
- optimisticSetKey(ENTITY, Long) - Method in class org.hrorm.DirectPrimaryKey
-
- optimisticSetKey(ENTITY, Long) - Method in class org.hrorm.IndirectPrimaryKey
-
- optimisticSetKey(ENTITY, Long) - Method in interface org.hrorm.PrimaryKey
-
Sets the key onto the object
- or(Where) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the passed argument with a logical or
operation.
- or(String, Operator, Long) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
- or(String, Operator, BigDecimal) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
- or(String, Operator, String) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
- or(String, Operator, Boolean) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
- or(String, Operator, Instant) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
- or(String, Operator, T, GenericColumn<T>) - Method in class org.hrorm.Where
-
Add a new predicate to the existing object by connecting the
existing predicates to the new one with a logical or.
- Order - Class in org.hrorm
-
Describes how to order entities during select.
- org.hrorm - package org.hrorm
-
Hrorm provides a mechanism for building
Dao
objects.
- saveChildren(Connection, Envelope<PARENT>) - Method in class org.hrorm.ChildrenDescriptor
-
- Schema - Class in org.hrorm
-
The Schema
class can be used to generate SQL to
create tables, sequences, and constraints described by
KeylessDaoDescriptor
objects.
- Schema(KeylessDaoDescriptor...) - Constructor for class org.hrorm.Schema
-
Construct an instance.
- SchemaDescriptor<ENTITY,BUILDER> - Interface in org.hrorm
-
Defines a class that can be used to build a richer schema than a
DaoDescriptor
or KeylessDaoDescriptor
.
- select() - Method in class org.hrorm.AbstractDao
-
- select(Order) - Method in class org.hrorm.AbstractDao
-
- select(ENTITY, String...) - Method in class org.hrorm.AbstractDao
-
- select(ENTITY, Order, String...) - Method in class org.hrorm.AbstractDao
-
- select(Where) - Method in class org.hrorm.AbstractDao
-
- select(Where, Order) - Method in class org.hrorm.AbstractDao
-
- select(SqlBuilder<CHILD>, Supplier<CHILDBUILDER>, SqlRunner<CHILD, CHILDBUILDER>, String, List<ChildrenDescriptor<CHILD, ?, CHILDBUILDER, ?>>) - Method in interface org.hrorm.ChildrenSelector
-
- select(SqlBuilder<CHILD>, Supplier<CHILDBUILDER>, SqlRunner<CHILD, CHILDBUILDER>, String, List<ChildrenDescriptor<CHILD, ?, CHILDBUILDER, ?>>) - Method in class org.hrorm.ChildrenSelector.SelectAllChildren
-
- select(SqlBuilder<CHILD>, Supplier<CHILDBUILDER>, SqlRunner<CHILD, CHILDBUILDER>, String, List<ChildrenDescriptor<CHILD, ?, CHILDBUILDER, ?>>) - Method in class org.hrorm.ChildrenSelector.SelectByIds
-
- select(SqlBuilder<CHILD>, Supplier<CHILDBUILDER>, SqlRunner<CHILD, CHILDBUILDER>, String, List<ChildrenDescriptor<CHILD, ?, CHILDBUILDER, ?>>) - Method in class org.hrorm.ChildrenSelector.SubSelectChildren
-
- select(List<Long>) - Method in interface org.hrorm.Dao
-
Read several records from the database by their primary keys.
- select(List<Long>) - Method in class org.hrorm.DaoImpl
-
- select() - Method in interface org.hrorm.KeylessDao
-
Read all the records in the database of type ENTITY.
- select(Where) - Method in interface org.hrorm.KeylessDao
-
Run a select in the data store for entities matching the given where predicates.
- select(Order) - Method in interface org.hrorm.KeylessDao
-
Read all the records in the database of type ENTITY in the
required order.
- select(Where, Order) - Method in interface org.hrorm.KeylessDao
-
Run a select in the data store for entities matching the given where predicates
returned in the order specified.
- select(ENTITY, String...) - Method in interface org.hrorm.KeylessDao
-
Select multiple records from the database by some search criteria.
- select(ENTITY, Order, String...) - Method in interface org.hrorm.KeylessDao
-
Select multiple records from the database by some search criteria in the
required order.
- select(String...) - Method in interface org.hrorm.KeylessDaoDescriptor
-
- select() - Method in interface org.hrorm.Queries
-
- select(Where) - Method in interface org.hrorm.Queries
-
- select() - Method in class org.hrorm.SqlBuilder
-
- select(Order) - Method in class org.hrorm.SqlBuilder
-
- select(Where) - Method in class org.hrorm.SqlBuilder
-
- select(Where, Order) - Method in class org.hrorm.SqlBuilder
-
- SelectAllChildren() - Constructor for class org.hrorm.ChildrenSelector.SelectAllChildren
-
- selectByColumns(ColumnSelection) - Method in class org.hrorm.SqlBuilder
-
- selectByColumns(ColumnSelection, Order) - Method in class org.hrorm.SqlBuilder
-
- selectByColumnsStandard(String, Supplier<BUILDER>, ColumnSelection<ENTITY, BUILDER>, List<? extends ChildrenDescriptor<ENTITY, ?, BUILDER, ?>>, ENTITY) - Method in class org.hrorm.SqlRunner
-
- SelectByIds(Supplier<List<Long>>) - Constructor for class org.hrorm.ChildrenSelector.SelectByIds
-
- selectByParentSubSelect(String) - Method in class org.hrorm.SqlBuilder
-
- selectChildIds() - Method in class org.hrorm.SqlBuilder
-
- selectDistinct(String, Where) - Method in class org.hrorm.AbstractDao
-
- selectDistinct(String, String, Where) - Method in class org.hrorm.AbstractDao
-
- selectDistinct(String, String, String, Where) - Method in class org.hrorm.AbstractDao
-
- selectDistinct(String, Where) - Method in interface org.hrorm.KeylessDao
-
Select unique values from the database for a particular column.
- selectDistinct(String, String, Where) - Method in interface org.hrorm.KeylessDao
-
Select unique value pairs from the database for a particular pair of columns.
- selectDistinct(String, String, String, Where) - Method in interface org.hrorm.KeylessDao
-
Select unique value triplets from the database for a particular triplet of columns.
- selectDistinct(Where, String...) - Method in class org.hrorm.SqlBuilder
-
- selectDistinct(String, Where, Function<ResultSet, T>) - Method in class org.hrorm.SqlRunner
-
- selectFunction(SqlFunction, String, Where) - Method in class org.hrorm.SqlBuilder
-
- SelectionInstruction - Class in org.hrorm
-
A container for some of the details of how a deferred selection
is supposed to work.
- selectLeftAssociates(RIGHT) - Method in interface org.hrorm.AssociationDao
-
Finds all the instances of LEFT
entities
associated with the RIGHT
instance passed.
- selectLeftAssociates(RIGHT) - Method in class org.hrorm.AssociationDaoImpl
-
- selectOne(ENTITY, String...) - Method in class org.hrorm.AbstractDao
-
- selectOne(Where) - Method in class org.hrorm.AbstractDao
-
- selectOne(long) - Method in interface org.hrorm.Dao
-
Read a record from the database by its primary key.
- selectOne(long) - Method in class org.hrorm.DaoImpl
-
- selectOne(Where) - Method in interface org.hrorm.KeylessDao
-
Select a single record from the database by some search criteria.
- selectOne(ENTITY, String...) - Method in interface org.hrorm.KeylessDao
-
Select a single record from the database by some search criteria.
- selectPrimaryKey(Where) - Method in class org.hrorm.SqlBuilder
-
- selectPrimaryKey(String) - Method in class org.hrorm.SqlBuilder
-
- selectPrimaryKeyOfJoinedColumn(StatementPopulator, String) - Method in class org.hrorm.SqlBuilder
-
- selectRightAssociates(LEFT) - Method in interface org.hrorm.AssociationDao
-
Finds all the instances of RIGHT
entities
associated with the LEFT
instance passed.
- selectRightAssociates(LEFT) - Method in class org.hrorm.AssociationDaoImpl
-
- selectStandard(String, Supplier<BUILDER>, List<ChildrenDescriptor<ENTITY, ?, BUILDER, ?>>) - Method in class org.hrorm.SqlRunner
-
- selectWhereStandard(String, Supplier<BUILDER>, List<? extends ChildrenDescriptor<ENTITY, ?, BUILDER, ?>>, Where) - Method in class org.hrorm.SqlRunner
-
- sequences() - Method in class org.hrorm.Schema
-
All the sequences this schema contains.
- setId(Long) - Method in class org.hrorm.Association
-
- setLastColumnAddedNotNull() - Method in class org.hrorm.ColumnCollection
-
- setLastColumnSqlTypeName(String) - Method in class org.hrorm.ColumnCollection
-
- setLeft(LEFT) - Method in class org.hrorm.Association
-
- setParentColumn(ParentColumn<ENTITY, ?, BUILDER, ?>) - Method in class org.hrorm.ColumnCollection
-
- setParentPrimaryKey(PrimaryKey<PARENT, PARENTBUILDER>) - Method in class org.hrorm.NoBackReferenceParentColumn
-
- setParentPrimaryKey(PrimaryKey<PARENT, PARENTBUILDER>) - Method in interface org.hrorm.ParentColumn
-
- setParentPrimaryKey(PrimaryKey<PARENT, PARENTBUILDER>) - Method in class org.hrorm.ParentColumnImpl
-
- setPreparedStatement(PreparedStatement, int, TYPE) - Method in class org.hrorm.GenericColumn
-
- setPrimaryKey(PrimaryKey<ENTITY, BUILDER>) - Method in class org.hrorm.ColumnCollection
-
- setRight(RIGHT) - Method in class org.hrorm.Association
-
- setSqlTypeName(String) - Method in class org.hrorm.AbstractDaoBuilder
-
Set the SQL type for the most recently added column.
- setSqlTypeName(String) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Set the SQL type for the most recently added column.
- setSqlTypeName(String) - Method in interface org.hrorm.Column
-
Set the name of the type of this column as it would be in the SQL schema.
- setSqlTypeName(String) - Method in class org.hrorm.ColumnImpl
-
- setSqlTypeName(String) - Method in class org.hrorm.DirectPrimaryKey
-
- setSqlTypeName(String) - Method in class org.hrorm.IndirectPrimaryKey
-
- setSqlTypeName(String) - Method in class org.hrorm.JoinColumn
-
- setSqlTypeName(String) - Method in class org.hrorm.NoBackReferenceParentColumn
-
- setSqlTypeName(String) - Method in class org.hrorm.ParentColumnImpl
-
- setter() - Method in class org.hrorm.NoBackReferenceParentColumn
-
- setter() - Method in interface org.hrorm.ParentColumn
-
- setter() - Method in class org.hrorm.ParentColumnImpl
-
- setValue(ENTITY, int, PreparedStatement) - Method in interface org.hrorm.Column
-
Sets a value onto the prepared statement based on the state of the object passed.
- setValue(ENTITY, int, PreparedStatement) - Method in class org.hrorm.ColumnImpl
-
- setValue(ENTITY, int, PreparedStatement) - Method in class org.hrorm.DirectPrimaryKey
-
- setValue(ENTITY, int, PreparedStatement) - Method in class org.hrorm.IndirectPrimaryKey
-
- setValue(ENTITY, int, PreparedStatement) - Method in class org.hrorm.JoinColumn
-
- setValue(ENTITY, int, PreparedStatement) - Method in class org.hrorm.NoBackReferenceParentColumn
-
- setValue(CHILD, int, PreparedStatement) - Method in class org.hrorm.ParentColumnImpl
-
- setValue(int, PreparedStatement) - Method in class org.hrorm.WherePredicate
-
Applies the value held by this object to the passed statement.
- simpleInstruction(String, ChildSelectStrategy) - Static method in class org.hrorm.SelectionInstruction
-
- sql() - Method in class org.hrorm.Schema
-
The SQL to create the schema described by this object.
- sqlBuilder - Variable in class org.hrorm.AbstractDao
-
- SqlBuilder<ENTITY> - Class in org.hrorm
-
- SqlBuilder(DaoDescriptor<ENTITY, ?>) - Constructor for class org.hrorm.SqlBuilder
-
- SqlBuilder(KeylessDaoDescriptor<ENTITY, ?>) - Constructor for class org.hrorm.SqlBuilder
-
- SqlFunction - Class in org.hrorm
-
Representation of various aggregation functions that a database can perform.
- sqlRunner - Variable in class org.hrorm.AbstractDao
-
- SqlRunner<ENTITY,BUILDER> - Class in org.hrorm
-
This class does the heavy lifting of creating Statement
s,
executing SQL, and parsing ResultSet
s.
- SqlRunner(Connection) - Constructor for class org.hrorm.SqlRunner
-
- SqlRunner(Connection, KeylessDaoDescriptor<ENTITY, BUILDER>) - Constructor for class org.hrorm.SqlRunner
-
- sqlType() - Method in class org.hrorm.GenericColumn
-
- StatementPopulator - Interface in org.hrorm
-
Interface defining the ability to set the variables of a prepared statement.
- StatementPopulator.Empty - Class in org.hrorm
-
- STRING - Static variable in class org.hrorm.GenericColumn
-
An instance that supports String
data elements.
- stringColumn(String, String, Function<ENTITY, String>, BiConsumer<BUILDER, String>, boolean) - Static method in class org.hrorm.DataColumnFactory
-
- stringConverterColumn(String, String, Function<ENTITY, TYPE>, BiConsumer<BUILDER, TYPE>, Converter<TYPE, String>, boolean) - Static method in class org.hrorm.DataColumnFactory
-
- StringTypes - Static variable in class org.hrorm.ColumnTypes
-
- SubSelectChildren(Supplier<String>, StatementPopulator) - Constructor for class org.hrorm.ChildrenSelector.SubSelectChildren
-
- SUM - Static variable in class org.hrorm.SqlFunction
-
To run the SQL SUM function on a column in a table.
- supplier() - Method in class org.hrorm.AbstractDao
-
- supplier() - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
- supplier() - Method in class org.hrorm.AssociationDaoBuilder
-
- supplier() - Method in interface org.hrorm.KeylessDaoDescriptor
-
The mechanism to use to instantiate a new instance of type ENTITY
,
generally a no-argument constructor of the class.
- supplier() - Method in class org.hrorm.RelativeDaoDescriptor
-
- supportedTypes() - Method in interface org.hrorm.Column
-
The members of java.sql.Types
that this column should support.
- supportedTypes() - Method in class org.hrorm.DirectPrimaryKey
-
- supportedTypes() - Method in class org.hrorm.IndirectPrimaryKey
-
- supportedTypes() - Method in class org.hrorm.JoinColumn
-
- supportedTypes() - Method in class org.hrorm.NoBackReferenceParentColumn
-
- supportedTypes() - Method in class org.hrorm.ParentColumnImpl
-
- Where - Class in org.hrorm
-
Representation of a SQL where clause: a possibly nested list of
predicates that describes which records in the database to match.
- Where() - Constructor for class org.hrorm.Where
-
Creates an object with no filters.
- Where(Where) - Constructor for class org.hrorm.Where
-
Creates a new Where
instance that is grouped,
that is, when the SQL where clause is generated, whatever is
inside the passed where instance will be wrapped inside
parentheses.
- Where(String, Operator, Boolean) - Constructor for class org.hrorm.Where
-
Create a new instance of a Where
object
containing one predicate.
- Where(String, Operator, Long) - Constructor for class org.hrorm.Where
-
Create a new instance of a Where
object
containing one predicate.
- Where(String, Operator, String) - Constructor for class org.hrorm.Where
-
Create a new instance of a Where
object
containing one predicate.
- Where(String, Operator, BigDecimal) - Constructor for class org.hrorm.Where
-
Create a new instance of a Where
object
containing one predicate.
- Where(String, Operator, Instant) - Constructor for class org.hrorm.Where
-
Create a new instance of a Where
object
containing one predicate.
- Where(String, Operator, T, GenericColumn<T>) - Constructor for class org.hrorm.Where
-
Create a new instance of a Where
object
containing one predicate.
- where() - Static method in class org.hrorm.Where
-
Factory method equivalent to new Where()
.
- where(Where) - Static method in class org.hrorm.Where
-
Factory method equivalent to new Where(subWhere)
.
- where(String, Operator, Boolean) - Static method in class org.hrorm.Where
-
Factory method equivalent to new Where(columnName, operator, value)
.
- where(String, Operator, Long) - Static method in class org.hrorm.Where
-
Factory method equivalent to new Where(columnName, operator, value)
.
- where(String, Operator, String) - Static method in class org.hrorm.Where
-
Factory method equivalent to new Where(columnName, operator, value)
.
- where(String, Operator, BigDecimal) - Static method in class org.hrorm.Where
-
Factory method equivalent to new Where(columnName, operator, value)
.
- where(String, Operator, Instant) - Static method in class org.hrorm.Where
-
Factory method equivalent to new Where(columnName, operator, value)
.
- where(String, Operator, T, GenericColumn<T>) - Static method in class org.hrorm.Where
-
Factory method equivalent to new Where(columnName, operator, value, column)
.
- whereClause() - Method in class org.hrorm.ColumnSelection
-
- WherePredicate<T> - Class in org.hrorm
-
Represents a particular predicate for filtering results.
- WherePredicate(String, boolean) - Constructor for class org.hrorm.WherePredicate
-
- WherePredicate(String, Operator, T, PreparedStatementSetter<T>) - Constructor for class org.hrorm.WherePredicate
-
- WherePredicate(String, PreparedStatementSetter<T>, List<T>, boolean) - Constructor for class org.hrorm.WherePredicate
-
- WherePredicateTree - Class in org.hrorm
-
A very simple syntax tree for representing where clauses with possibly
nested predicates joined by AND and OR.
- WherePredicateTree(WherePredicate) - Constructor for class org.hrorm.WherePredicateTree
-
- WherePredicateTree(WherePredicateTree.WherePredicateNode) - Constructor for class org.hrorm.WherePredicateTree
-
- WherePredicateTree(WherePredicateTree) - Constructor for class org.hrorm.WherePredicateTree
-
- WherePredicateTree.Conjunction - Enum in org.hrorm
-
- withBigDecimalColumn(String, Function<ENTITY, BigDecimal>, BiConsumer<ENTITYBUILDER, BigDecimal>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describes a numeric data element with a decimal part.
- withBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<ENTITYBUILDER, Boolean>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describes a data element that represents a true/false value that is
backed by a SQL boolean column.
- withChildren(Function<ENTITY, List<CHILD>>, BiConsumer<ENTITYBUILDER, List<CHILD>>, DaoDescriptor<CHILD, CHILDBUILDER>) - Method in class org.hrorm.AbstractDaoBuilder
-
Describes a relationship between the object ENTITY
and its several
child objects of type U
.
- withChildSelectStrategy(ChildSelectStrategy) - Method in class org.hrorm.AbstractDaoBuilder
-
Set the method used for selecting for child elements of the entity.
- withChildSelectStrategy(ChildSelectStrategy) - Method in class org.hrorm.AssociationDaoBuilder
-
- withConvertedGenericColumn(String, Function<ENTITY, U>, BiConsumer<ENTITYBUILDER, U>, GenericColumn<T>, Converter<U, T>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describes a data element of type U
that can be stored in
a GenericColumn
that stores objects of type T
.
- withConvertingStringColumn(String, Function<ENTITY, E>, BiConsumer<ENTITYBUILDER, E>, Converter<E, String>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describes a data element with a particular type (like an enumeration) that
is persisted using a String
representation.
- withGenericColumn(String, Function<ENTITY, T>, BiConsumer<ENTITYBUILDER, T>, GenericColumn<T>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describes a data element of type T
that can be stored in
a GenericColumn
.
- withInstantColumn(String, Function<ENTITY, Instant>, BiConsumer<ENTITYBUILDER, Instant>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describes a data element that represents a time stamp.
- withIntegerBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<ENTITYBUILDER, Boolean>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describes a data element that represents a true/false value
and is backed by a column holding an integer value.
- withJoinColumn(String, Function<ENTITY, U>, BiConsumer<ENTITYBUILDER, U>, DaoDescriptor<U, ?>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describes a data element that is represented by an Object
of some
other type U
with its own table for persistence.
- withLeftColumnName(String) - Method in class org.hrorm.AssociationDaoBuilder
-
The name of the column in the association table that references the
primary key of the left entity.
- withLongColumn(String, Function<ENTITY, Long>, BiConsumer<ENTITYBUILDER, Long>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describes a numeric data element with no decimal or fractional part.
- withParentColumn(String, Function<ENTITY, P>, BiConsumer<ENTITYBUILDER, P>) - Method in class org.hrorm.AbstractDaoBuilder
-
Indicator that the column is a reference to an owning parent object.
- withParentColumn(String) - Method in class org.hrorm.AbstractDaoBuilder
-
Indicator that the column is a reference to an owning parent object.
- withParentColumnName(String, String, ChildSelectStrategy) - Static method in class org.hrorm.SelectionInstruction
-
- withPrefix(String, Prefixer) - Method in interface org.hrorm.Column
-
Make a new instance of the column, identical to this instance, except with a
new prefix.
- withPrefix(String, Prefixer) - Method in class org.hrorm.ColumnImpl
-
- withPrefix(String, Prefixer) - Method in class org.hrorm.DirectPrimaryKey
-
- withPrefix(String, Prefixer) - Method in class org.hrorm.IndirectPrimaryKey
-
- withPrefix(String, Prefixer) - Method in class org.hrorm.JoinColumn
-
- withPrefix(String, Prefixer) - Method in class org.hrorm.NoBackReferenceParentColumn
-
- withPrefix(String, Prefixer) - Method in class org.hrorm.ParentColumnImpl
-
- withPrimaryKey(String, String, Function<ENTITY, Long>, BiConsumer<ENTITY, Long>) - Method in class org.hrorm.DaoBuilder
-
Set data about the primary key of the table for this type.
- withPrimaryKey(String, String, Function<ENTITY, Long>, BiConsumer<BUILDER, Long>) - Method in class org.hrorm.IndirectDaoBuilder
-
Set data about the primary key of the table for this type.
- withPrimaryKeyName(String) - Method in class org.hrorm.AssociationDaoBuilder
-
Setter for the primary key column name of the association table in the database.
- withPrimaryKeySql(String, String, ChildSelectStrategy) - Static method in class org.hrorm.SelectionInstruction
-
- withPrimaryKeySqlAndParentColumnName(String, String, String, ChildSelectStrategy) - Static method in class org.hrorm.SelectionInstruction
-
- withRightColumnName(String) - Method in class org.hrorm.AssociationDaoBuilder
-
The name of the column in the association table that references the
primary key of the right entity.
- withSequenceName(String) - Method in class org.hrorm.AssociationDaoBuilder
-
Setter for the name of the database sequence used to populate
the primary key of the association table
- withStringBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<ENTITYBUILDER, Boolean>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describes a data element that represents a true/false value
and is backed by a column holding a String value.
- withStringColumn(String, Function<ENTITY, String>, BiConsumer<ENTITYBUILDER, String>) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
- withTableName(String) - Method in class org.hrorm.AssociationDaoBuilder
-
Setter for the name of the association table in the database.
- withTypeName(String) - Method in class org.hrorm.GenericColumn
-
Create a new instance with a new SQL type name to be used in a generated
schema.
- withUniqueConstraint(String...) - Method in class org.hrorm.AbstractDaoBuilder
-
Describe a unique constraint on this entity.
- withUniqueConstraint(String...) - Method in class org.hrorm.AbstractKeylessDaoBuilder
-
Describe a unique constraint on this entity.