Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

AbstractColumn<TYPE,ENTITY,BUILDER> - Class in org.hrorm
Represents a column in a database table.
AbstractColumn(String, String, Function<ENTITY, TYPE>, BiConsumer<BUILDER, TYPE>, boolean, String) - Constructor for class org.hrorm.AbstractColumn
 
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
 
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.
ascending(String...) - Static method in class org.hrorm.Order
To order things in an increasing direction by the passed columns.
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
A mechanism for building an AssociationDao.
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 interface org.hrorm.KeylessDao
Insert a record into the database within a transaction that is managed within the Dao.
atomicInsert(ENTITY) - Method in class org.hrorm.KeylessDaoImpl
 
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.

B

bigDecimalColumn(String, String, Function<ENTITY, BigDecimal>, BiConsumer<BUILDER, BigDecimal>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
booleanColumn(String, String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
BooleanLongConverter - Class in org.hrorm
This Converter translates true values to 1 and false values to 0.
BooleanLongConverter() - Constructor for class org.hrorm.BooleanLongConverter
 
BooleanStringConverter - Class in org.hrorm
This Converter translates true values to "T" and false values to "F".
BooleanStringConverter(String, String) - Constructor for class org.hrorm.BooleanStringConverter
 
BooleanTypes - Static variable in class org.hrorm.ColumnTypes
 
buildDao(Connection) - Method in class org.hrorm.AssociationDaoBuilder
Creates a new AssociationDao using the passed Connection.
buildDao(Connection) - Method in class org.hrorm.DaoBuilder
Creates a Dao for performing CRUD operations of type ENTITY.
buildDao(Connection) - Method in class org.hrorm.IndirectDaoBuilder
Creates a Dao for performing CRUD operations of type ENTITY.
buildDao(Connection) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Creates a Dao for performing CRUD operations of type ENTITY.
buildFunction() - Method in class org.hrorm.AssociationDaoBuilder
 
buildFunction() - Method in class org.hrorm.DaoBuilder
 
buildFunction() - Method in class org.hrorm.IndirectDaoBuilder
 
buildFunction() - Method in class org.hrorm.IndirectKeylessDaoBuilder
 
buildFunction() - Method in interface org.hrorm.KeylessDaoDescriptor
The mechanism for building a new entity instance.
buildFunction() - Method in class org.hrorm.KeylessDaoImpl
 
buildFunction() - Method in class org.hrorm.RelativeDaoDescriptor
 
buildPopulator(ENTITY) - Method in class org.hrorm.ColumnSelection
 
buildQueries() - Method in class org.hrorm.DaoBuilder
Build the SQL that will be used by DAO objects created by this builder.
buildQueries() - Method in class org.hrorm.IndirectDaoBuilder
Build the SQL that will be used by DAO objects created by this builder.

C

ChildrenDescriptor<PARENT,CHILD,PARENTBUILDER,CHILDBUILDER> - Class in org.hrorm
Complete definition of how a child entity is related to its parent entity.
ChildrenDescriptor(Function<PARENT, List<CHILD>>, BiConsumer<PARENTBUILDER, List<CHILD>>, DaoDescriptor<CHILD, CHILDBUILDER>, PrimaryKey<PARENT, PARENTBUILDER>, Function<PARENTBUILDER, PARENT>) - Constructor for class org.hrorm.ChildrenDescriptor
 
childrenDescriptors() - Method in class org.hrorm.AssociationDaoBuilder
 
childrenDescriptors() - Method in class org.hrorm.DaoBuilder
 
childrenDescriptors() - Method in interface org.hrorm.DaoDescriptor
The definitions of any entities that are owned by type ENTITY
childrenDescriptors() - Method in class org.hrorm.DaoImpl
 
childrenDescriptors() - Method in class org.hrorm.IndirectDaoBuilder
 
childrenDescriptors() - Method in class org.hrorm.RelativeDaoDescriptor
 
childTableName() - Method in class org.hrorm.ChildrenDescriptor
 
Column<ENTITY,BUILDER> - Interface in org.hrorm
Represents a column in a table that holds entity values.
ColumnCollection<ENTITY,BUILDER> - Class in org.hrorm
Collator for the columns in a DAO builder.
ColumnCollection() - Constructor for class org.hrorm.ColumnCollection
 
ColumnCollection(PrimaryKey<ENTITY, BUILDER>, ParentColumn<ENTITY, ?, BUILDER, ?>, List<Column<ENTITY, BUILDER>>, List<JoinColumn<ENTITY, ?, BUILDER, ?>>) - Constructor for class org.hrorm.ColumnCollection
 
ColumnSelection<ENTITY,BUILDER> - Class in org.hrorm
Represents a sub set of columns that are relevant to a particular query.
ColumnSelection(List<Column<ENTITY, BUILDER>>, String...) - Constructor for class org.hrorm.ColumnSelection
 
ColumnTypes - Class in org.hrorm
Container for some static data regarding what Column implementations are suitable for what SQL types.
ColumnTypes() - Constructor for class org.hrorm.ColumnTypes
 
connection - Variable in class org.hrorm.KeylessDaoImpl
 
constraints() - Method in class org.hrorm.Schema
All the constraints this schema contains.
convertedGenericColumn(String, String, Function<ENTITY, U>, BiConsumer<BUILDER, U>, GenericColumn<T>, Converter<U, T>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
Converter<CLASS,CODE> - Interface in org.hrorm
This interface describes mechanisms for translating objects from one type to another and back.
COUNT - Static variable in class org.hrorm.SqlFunction
To run the SQL COUNT function on a column in a table.

D

Dao<ENTITY> - Interface in org.hrorm
A Dao is an interface that allows basic CRUD operations to be performed.
DaoBuilder<ENTITY> - Class in org.hrorm
A DaoBuilder provides mechanisms for defining the relationship between a Java type and the table(s) that will persist the data held in the class.
DaoBuilder(String, Supplier<ENTITY>) - Constructor for class org.hrorm.DaoBuilder
Create a new DaoBuilder instance.
DaoBuilderHelper<ENTITY,BUILDER> - Class in org.hrorm
A value class for storing meta data (like table name) about an entity.
DaoBuilderHelper(String, Supplier<BUILDER>, Function<BUILDER, ENTITY>) - Constructor for class org.hrorm.DaoBuilderHelper
 
DaoDescriptor<ENTITY,ENTITYBUILDER> - Interface in org.hrorm
Implementers of this interface completely describe all the information necessary to persisting objects of type ENTITY.
DaoHelper - Class in org.hrorm
Some small utilities used internally by hrorm.
DaoHelper() - Constructor for class org.hrorm.DaoHelper
 
DaoImpl<ENTITY,PARENT,BUILDER,PARENTBUILDER> - Class in org.hrorm
The Dao implementation.
DaoImpl(Connection, DaoDescriptor<ENTITY, BUILDER>) - Constructor for class org.hrorm.DaoImpl
 
DataColumnFactory - Class in org.hrorm
Mechanisms for creating columns that can handle persistence of various Java types.
DataColumnFactory() - Constructor for class org.hrorm.DataColumnFactory
 
dataColumns() - Method in interface org.hrorm.KeylessDaoDescriptor
The columns that contain the data that make up the object
DecimalTypes - Static variable in class org.hrorm.ColumnTypes
 
delete(ENTITY) - Method in interface org.hrorm.Dao
Run a delete statement in the database.
delete(ENTITY) - Method in class org.hrorm.DaoImpl
 
delete() - Method in interface org.hrorm.Queries
 
delete() - Method in class org.hrorm.SqlBuilder
 
deleteAssociation(LEFT, RIGHT) - Method in interface org.hrorm.AssociationDao
Remove an association from the underlying store
deleteAssociation(LEFT, RIGHT) - Method in class org.hrorm.AssociationDaoImpl
 
descending(String...) - Static method in class org.hrorm.Order
To order things in a decreasing direction by the passed columns.
DirectPrimaryKey<ENTITY> - Class in org.hrorm
Primary key for an entity whose construction is direct, i.e.
DirectPrimaryKey(String, String, String, Function<ENTITY, Long>, BiConsumer<ENTITY, Long>) - Constructor for class org.hrorm.DirectPrimaryKey
 

E

empty() - Static method in class org.hrorm.ColumnSelection
 
EMPTY - Static variable in class org.hrorm.WherePredicateTree
 
Envelope<T> - Class in org.hrorm
A simple holder for data objects that can package it with its own ID.
Envelope(T, Long, Long) - Constructor for class org.hrorm.Envelope
 
Envelope(T, Long) - Constructor for class org.hrorm.Envelope
 
Envelope(T) - Constructor for class org.hrorm.Envelope
 
EQUALS - Static variable in class org.hrorm.Operator
An instance that represents the equality ('=') operator.

F

findErrors(Connection, KeylessDaoDescriptor) - Static method in class org.hrorm.KeylessValidator
 
findErrors(Connection, DaoDescriptor) - Static method in class org.hrorm.Validator
 
findExistingChildrenIds(Connection, Long) - Method in class org.hrorm.ChildrenDescriptor
 
FIRST_PREFIX - Static variable in class org.hrorm.Prefixer
 
foldingSelect(T, BiFunction<T, ENTITY, T>, Where) - Method in interface org.hrorm.KeylessDao
Computes a result based on the entities found by a select statement without realizing the entire list of found entities in memory.
foldingSelect(T, BiFunction<T, ENTITY, T>, Where) - Method in class org.hrorm.KeylessDaoImpl
 
foldingSelect(String, StatementPopulator, Supplier<BUILDER>, List<? extends ChildrenDescriptor<ENTITY, ?, BUILDER, ?>>, Function<BUILDER, X>, T, BiFunction<T, X, T>) - Method in class org.hrorm.SqlRunner
 
forBigDecimal(String, Operator, BigDecimal) - Static method in class org.hrorm.WherePredicate
 
forBoolean(String, Operator, Boolean) - Static method in class org.hrorm.WherePredicate
 
forInstant(String, Operator, Instant) - Static method in class org.hrorm.WherePredicate
 
forKeylessDescriptors(Connection, KeylessDaoDescriptor) - Static method in class org.hrorm.KeylessDaoImpl
 
forLong(String, Operator, Long) - Static method in class org.hrorm.WherePredicate
 
forString(String, Operator, String) - Static method in class org.hrorm.WherePredicate
 
from(Boolean) - Method in class org.hrorm.BooleanLongConverter
 
from(Boolean) - Method in class org.hrorm.BooleanStringConverter
 
from(CLASS) - Method in interface org.hrorm.Converter
Convert from the supported class into its encoded value
fromJoinColumn(Consumer<Connection>) - Static method in class org.hrorm.PopulateResult
 
fromResultSet(ResultSet, String) - Method in class org.hrorm.GenericColumn
 
fromSingletonList(List<A>) - Static method in class org.hrorm.KeylessDaoImpl
 

G

genericColumn(String, String, Function<ENTITY, E>, BiConsumer<BUILDER, E>, GenericColumn<E>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
GenericColumn<TYPE> - Class in org.hrorm
A column that represents a particular Java type.
GenericColumn(PreparedStatementSetter<TYPE>, ResultSetReader<TYPE>, int) - Constructor for class org.hrorm.GenericColumn
Create a generic column instance to support the TYPE.
GenericColumn(PreparedStatementSetter<TYPE>, ResultSetReader<TYPE>, int, String) - Constructor for class org.hrorm.GenericColumn
Create a generic column instance to support the TYPE.
get(String) - Method in class org.hrorm.ColumnSelection
 
getBuildFunction() - Method in class org.hrorm.DaoBuilderHelper
 
getColumnCollection() - Method in class org.hrorm.AssociationDaoBuilder
 
getColumnCollection() - Method in class org.hrorm.DaoBuilder
 
getColumnCollection() - Method in class org.hrorm.IndirectDaoBuilder
 
getColumnCollection() - Method in class org.hrorm.IndirectKeylessDaoBuilder
 
getColumnCollection() - Method in interface org.hrorm.KeylessDaoDescriptor
 
getColumnCollection() - Method in class org.hrorm.KeylessDaoImpl
 
getColumnCollection() - Method in class org.hrorm.RelativeDaoDescriptor
 
getDataColumns() - Method in class org.hrorm.ColumnCollection
 
getFunctionName() - Method in class org.hrorm.SqlFunction
 
getId() - Method in class org.hrorm.Association
 
getId() - Method in class org.hrorm.Envelope
 
getItem() - Method in class org.hrorm.Envelope
 
getJoinColumns() - Method in class org.hrorm.ColumnCollection
 
getJoinColumns() - Method in class org.hrorm.KeylessSqlBuilder
 
getJoinedTablePrefix() - Method in class org.hrorm.JoinColumn
 
getJoinedTablePrimaryKeyName() - Method in class org.hrorm.JoinColumn
 
getKey(ENTITY) - Method in class org.hrorm.DirectPrimaryKey
 
getKey(ENTITY) - Method in class org.hrorm.IndirectPrimaryKey
 
getKey(ENTITY) - Method in interface org.hrorm.PrimaryKey
 
getLeft() - Method in class org.hrorm.Association
 
getMessage() - Method in exception org.hrorm.HrormException
 
getName() - Method in class org.hrorm.AbstractColumn
 
getName() - Method in interface org.hrorm.Column
The name of the database column this instance represents.
getName() - Method in class org.hrorm.DirectPrimaryKey
 
getName() - Method in class org.hrorm.IndirectPrimaryKey
 
getName() - Method in class org.hrorm.JoinColumn
 
getName() - Method in class org.hrorm.NoBackReferenceParentColumn
 
getName() - Method in class org.hrorm.ParentColumnImpl
 
getNextSequenceValue(Connection, String) - Static method in class org.hrorm.DaoHelper
 
getNonJoinColumns() - Method in class org.hrorm.JoinColumn
 
getNonJoinColumns() - Method in class org.hrorm.KeylessSqlBuilder
 
getParentColumn() - Method in class org.hrorm.ColumnCollection
 
getParentId() - Method in class org.hrorm.Envelope
 
getParentId(ENTITY) - Method in class org.hrorm.NoBackReferenceParentColumn
 
getParentId(CHILD) - Method in interface org.hrorm.ParentColumn
 
getParentId(CHILD) - Method in class org.hrorm.ParentColumnImpl
 
getPrefix() - Method in class org.hrorm.AbstractColumn
 
getPrefix() - Method in interface org.hrorm.Column
The prefix that should be used for this column when generating SQL.
getPrefix() - Method in class org.hrorm.DaoBuilderHelper
 
getPrefix() - Method in class org.hrorm.DirectPrimaryKey
 
getPrefix() - Method in class org.hrorm.IndirectPrimaryKey
 
getPrefix() - Method in class org.hrorm.JoinColumn
 
getPrefix() - Method in class org.hrorm.NoBackReferenceParentColumn
 
getPrefix() - Method in class org.hrorm.ParentColumnImpl
 
getPrefixer() - Method in class org.hrorm.DaoBuilderHelper
 
getPrimaryKey() - Method in class org.hrorm.ColumnCollection
 
getRight() - Method in class org.hrorm.Association
 
getSequenceName() - Method in class org.hrorm.DirectPrimaryKey
 
getSequenceName() - Method in class org.hrorm.IndirectPrimaryKey
 
getSequenceName() - Method in interface org.hrorm.PrimaryKey
The name of the database sequence that is used to populate this key
getSql() - Method in exception org.hrorm.HrormException
The SQL that was executed that caused the exception.
getSqlException() - Method in exception org.hrorm.HrormException
 
getSqlString() - Method in class org.hrorm.Operator
Returns the text to be inserted in the SQL statement being built.
getSqlTypeName() - Method in class org.hrorm.AbstractColumn
 
getSqlTypeName() - Method in interface org.hrorm.Column
Returns the name of the column type in SQL, e.g.
getSqlTypeName() - Method in class org.hrorm.DirectPrimaryKey
 
getSqlTypeName() - Method in class org.hrorm.GenericColumn
 
getSqlTypeName() - Method in class org.hrorm.IndirectPrimaryKey
 
getSqlTypeName() - Method in class org.hrorm.JoinColumn
 
getSqlTypeName() - Method in class org.hrorm.NoBackReferenceParentColumn
 
getSqlTypeName() - Method in class org.hrorm.ParentColumnImpl
 
getSupplier() - Method in class org.hrorm.DaoBuilderHelper
 
getTable() - Method in class org.hrorm.JoinColumn
 
getTable() - Method in class org.hrorm.KeylessSqlBuilder
 
getTableName() - Method in class org.hrorm.DaoBuilderHelper
 
getter - Variable in class org.hrorm.AbstractColumn
 
getTransitiveJoins() - Method in class org.hrorm.JoinColumn
 
getUniquenessConstraints() - Method in class org.hrorm.ColumnCollection
 
GREATER_THAN - Static variable in class org.hrorm.Operator
An instance that represents the greater than ('>') operator.
GREATER_THAN_OR_EQUALS - Static variable in class org.hrorm.Operator
An instance that represents the greater than or equals ('>=') operator.

H

hasParent() - Method in interface org.hrorm.DaoDescriptor
Indicator of whether or not this entity has a parent.
hasParent() - Method in class org.hrorm.DaoImpl
 
HrormException - Exception in org.hrorm
A RuntimeException that often wraps SQLException.
HrormException(String) - Constructor for exception org.hrorm.HrormException
 
HrormException(SQLException) - Constructor for exception org.hrorm.HrormException
 
HrormException(SQLException, String) - Constructor for exception org.hrorm.HrormException
 
HrormException(String, String) - Constructor for exception org.hrorm.HrormException
 

I

Ignore - Static variable in class org.hrorm.PopulateResult
 
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
 
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 class org.hrorm.KeylessSqlBuilder
 
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
 
INSTANCE - Static variable in class org.hrorm.BooleanLongConverter
 
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
 
integerConverterColumn(String, String, Function<ENTITY, E>, BiConsumer<BUILDER, E>, Converter<E, Long>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
IntegerTypes - Static variable in class org.hrorm.ColumnTypes
 
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 class org.hrorm.AbstractColumn
 
isNullable() - Method in interface org.hrorm.Column
Indicator of whether or not this column is nullable or not.
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
 

J

JoinColumn<ENTITY,JOINED,ENTITYBUILDER,JOINEDBUILDER> - Class in org.hrorm
Represents a column that links to a foreign key of some other entity.
JoinColumn(String, String, Prefixer, Function<ENTITY, JOINED>, BiConsumer<ENTITYBUILDER, JOINED>, DaoDescriptor<JOINED, JOINEDBUILDER>, boolean) - Constructor for class org.hrorm.JoinColumn
 
joinColumns() - Method in interface org.hrorm.KeylessDaoDescriptor
The columns that contain references to foreign keys to other objects

K

KeylessDao<ENTITY> - Interface in org.hrorm
A KeylessDao is an interface that allows basic, non-singular CRUD operations to be performed.
KeylessDaoDescriptor<ENTITY,ENTITYBUILDER> - Interface in org.hrorm
Implementers of this interface completely describe all the information necessary to persisting objects of type ENTITY, except for the primary key.
KeylessDaoImpl<ENTITY,PARENT,BUILDER,PARENTBUILDER> - Class in org.hrorm
The KeylessDao implementation.
KeylessDaoImpl(Connection, DaoDescriptor<ENTITY, BUILDER>) - Constructor for class org.hrorm.KeylessDaoImpl
 
KeylessDaoImpl(Connection, KeylessDaoDescriptor<ENTITY, BUILDER>, List<ChildrenDescriptor<ENTITY, ?, BUILDER, ?>>) - Constructor for class org.hrorm.KeylessDaoImpl
 
keylessSqlBuilder - Variable in class org.hrorm.KeylessDaoImpl
 
KeylessSqlBuilder<ENTITY> - Class in org.hrorm
This class generates SQL strings suitable to be used in PreparedStatements used by KeylessDaos.
KeylessSqlBuilder(KeylessDaoDescriptor<ENTITY, ?>) - Constructor for class org.hrorm.KeylessSqlBuilder
 
KeylessValidator - Class in org.hrorm
A utility for checking whether or not the configuration of a KeylessDao matches the database schema.
KeylessValidator() - Constructor for class org.hrorm.KeylessValidator
 

L

LESS_THAN - Static variable in class org.hrorm.Operator
An instance that represents the less than ('<') operator.
LESS_THAN_OR_EQUALS - Static variable in class org.hrorm.Operator
An instance that represents the less than or equals ('<=') operator.
LIKE - Static variable in class org.hrorm.Operator
An instance that represents the 'LIKE' operator to be used for string fields.
longColumn(String, String, Function<ENTITY, Long>, BiConsumer<BUILDER, Long>, boolean) - Static method in class org.hrorm.DataColumnFactory
 

M

mapBuilders(List<BUILDER>) - Method in class org.hrorm.KeylessDaoImpl
 
MAX - Static variable in class org.hrorm.SqlFunction
To run the SQL MAX function on a column in a table.
MIN - Static variable in class org.hrorm.SqlFunction
To run the SQL MIN function on a column in a table.

N

newEnvelope(ENTITY, long) - Method in class org.hrorm.DaoImpl
 
newEnvelope(ENTITY, long) - Method in class org.hrorm.KeylessDaoImpl
 
nextPrefix() - Method in class org.hrorm.Prefixer
 
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.
notNull() - Method in class org.hrorm.AbstractColumn
 
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.DaoBuilder
Sets the most recent column added to this DaoBuilder to prevent it allowing nulls on inserts or updates.
notNull() - Method in class org.hrorm.DirectPrimaryKey
 
notNull() - Method in class org.hrorm.IndirectDaoBuilder
Sets the most recent column added to this DaoBuilder to prevent it allowing nulls on inserts or updates.
notNull() - Method in class org.hrorm.IndirectKeylessDaoBuilder
Sets the most recent column added to this DaoBuilder to prevent it allowing nulls on inserts or updates.
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
 
nullable - Variable in class org.hrorm.AbstractColumn
 

O

Operator - Class in org.hrorm
The Operator type supports the generation of SQL statements that specify the various comparisons allows 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.
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.

P

parentChildColumnName() - Method in class org.hrorm.ChildrenDescriptor
 
parentColumn() - Method in class org.hrorm.AssociationDaoBuilder
 
parentColumn() - Method in class org.hrorm.DaoBuilder
 
parentColumn() - Method in interface org.hrorm.DaoDescriptor
The parent column, if there is one, of the ENTITY.
parentColumn() - Method in class org.hrorm.DaoImpl
 
parentColumn() - Method in class org.hrorm.IndirectDaoBuilder
 
ParentColumn<CHILD,PARENT,CHILDBUILDER,PARENTBUILDER> - Interface in org.hrorm
Represents a reference from a child entity to its parent.
ParentColumn - Static variable in class org.hrorm.PopulateResult
 
parentColumn() - Method in class org.hrorm.RelativeDaoDescriptor
 
ParentColumnImpl<CHILD,PARENT,CHILDBUILDER,PARENTBUILDER> - Class in org.hrorm
Represents a reference from a child entity to its parent where the child class has a pointer back to the parent.
ParentColumnImpl(String, String, Function<CHILD, PARENT>, BiConsumer<CHILDBUILDER, PARENT>) - Constructor for class org.hrorm.ParentColumnImpl
 
ParentColumnImpl(String, String, Function<CHILD, PARENT>, BiConsumer<CHILDBUILDER, PARENT>, PrimaryKey<PARENT, PARENTBUILDER>, boolean) - Constructor for class org.hrorm.ParentColumnImpl
 
populate(BUILDER, ResultSet) - Method in class org.hrorm.AbstractColumn
 
populate(BUILDER, ResultSet) - Method in interface org.hrorm.Column
Populates the object with the data read from the database.
populate(ENTITY, ResultSet) - Method in class org.hrorm.DirectPrimaryKey
 
populate(BUILDER, ResultSet) - Method in class org.hrorm.IndirectPrimaryKey
 
populate(ENTITYBUILDER, ResultSet) - Method in class org.hrorm.JoinColumn
 
populate(BUILDER, ResultSet) - Method in class org.hrorm.NoBackReferenceParentColumn
 
populate(CHILDBUILDER, ResultSet) - Method in class org.hrorm.ParentColumnImpl
 
populate(PreparedStatement) - Method in interface org.hrorm.StatementPopulator
 
populate(PreparedStatement) - Method in class org.hrorm.Where
 
populateChildren(Connection, PARENTBUILDER) - Method in class org.hrorm.ChildrenDescriptor
 
populateChildren(Connection) - Method in class org.hrorm.PopulateResult
 
PopulateResult - Class in org.hrorm
Indication of the result, and work remaining, after an item has been populated.
Prefixer - Class in org.hrorm
Utility for providing unique prefixes in a fixed pattern.
Prefixer() - Constructor for class org.hrorm.Prefixer
 
primaryKey() - Method in class org.hrorm.AssociationDaoBuilder
 
primaryKey() - Method in interface org.hrorm.DaoDescriptor
The primary key for objects of type ENTITY
primaryKey() - Method in class org.hrorm.DaoImpl
 
PrimaryKey - Static variable in class org.hrorm.PopulateResult
 
PrimaryKey<ENTITY,BUILDER> - Interface in org.hrorm
Representation of the column that holds the primary key for the entity.

Q

queries() - Method in interface org.hrorm.Dao
Access the SQL this Dao is using.
queries() - Method in class org.hrorm.DaoImpl
 
Queries - Interface in org.hrorm
Represents the generated SQL for doing CRUD operations on some entity.

R

read(ResultSet, String) - Method in interface org.hrorm.ResultSetReader
 
readLongs(Connection, String, Long) - Static method in class org.hrorm.DaoHelper
 
ready() - Method in class org.hrorm.AssociationDaoBuilder
Flag indicating whether or not all the necessary fields have been set.
RelativeDaoDescriptor<ENTITY,PARENT,ENTITYBUILDER> - Class in org.hrorm
An implementation of a DaoDescriptor that has its prefixes shifted.
RelativeDaoDescriptor(DaoDescriptor<ENTITY, ENTITYBUILDER>, String, Prefixer) - Constructor for class org.hrorm.RelativeDaoDescriptor
 
render() - Method in class org.hrorm.Order
Generates a SQL snippet for appending to a query.
render() - Method in class org.hrorm.Where
The SQL that makes up the where clause this object represents.
render(String) - Method in class org.hrorm.WherePredicate
Creates a string representing a SQL snippet that can be used to build a prepared statement.
render(String) - Method in class org.hrorm.WherePredicateTree
 
ResultSetReader<TYPE> - Interface in org.hrorm
 
runAndCommit(Consumer<Connection>) - Method in class org.hrorm.Transactor
Runs the specified action and either commits when complete or rolls back on an exception.
runAndCommit(Function<Connection, RESULT>) - Method in class org.hrorm.Transactor
Runs the specified function and either commits when complete or rolls back on an exception.
runBigDecimalFunction(SqlFunction, String, Where) - Method in interface org.hrorm.KeylessDao
Computes an aggregated BigDecimal value, based on the select criteria specified and the given SqlFunction and column name.
runBigDecimalFunction(SqlFunction, String, Where) - Method in class org.hrorm.KeylessDaoImpl
 
runBigDecimalFunction(String, Where) - Method in class org.hrorm.SqlRunner
 
runLongFunction(SqlFunction, String, Where) - Method in interface org.hrorm.KeylessDao
Computes an aggregated Long value, based on the select criteria specified and the given SqlFunction and column name.
runLongFunction(SqlFunction, String, Where) - Method in class org.hrorm.KeylessDaoImpl
 
runLongFunction(String, Where) - Method in class org.hrorm.SqlRunner
 
runPreparedDelete(Connection, String, Long) - Static method in class org.hrorm.DaoHelper
 

S

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(long) - Method in interface org.hrorm.Dao
Read a record from the database by its primary key.
select(long) - Method in class org.hrorm.DaoImpl
 
select(Where) - Method in interface org.hrorm.KeylessDao
Run a select in the data store for entities matching the given where predicates.
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(String...) - Method in interface org.hrorm.KeylessDaoDescriptor
 
select(Where) - Method in class org.hrorm.KeylessDaoImpl
 
select(Where, Order) - Method in class org.hrorm.KeylessDaoImpl
 
select() - Method in class org.hrorm.KeylessSqlBuilder
 
select(Order) - Method in class org.hrorm.KeylessSqlBuilder
 
select(Where) - Method in class org.hrorm.KeylessSqlBuilder
 
select(Where, Order) - Method in class org.hrorm.KeylessSqlBuilder
 
select() - Method in interface org.hrorm.Queries
 
select() - Method in class org.hrorm.SqlBuilder
 
select(Where) - Method in class org.hrorm.SqlBuilder
 
select(String, Supplier<BUILDER>, List<ChildrenDescriptor<ENTITY, ?, BUILDER, ?>>) - Method in class org.hrorm.SqlRunner
 
selectAll() - Method in interface org.hrorm.KeylessDao
Read all the records in the database of type ENTITY.
selectAll(Order) - Method in interface org.hrorm.KeylessDao
Read all the records in the database of type ENTITY in the required order.
selectAll() - Method in class org.hrorm.KeylessDaoImpl
 
selectAll(Order) - Method in class org.hrorm.KeylessDaoImpl
 
selectByColumns(ENTITY, String...) - Method in interface org.hrorm.KeylessDao
Select a single record from the database by some search criteria.
selectByColumns(ENTITY, String...) - Method in class org.hrorm.KeylessDaoImpl
 
selectByColumns(ColumnSelection) - Method in class org.hrorm.KeylessSqlBuilder
 
selectByColumns(ColumnSelection, Order) - Method in class org.hrorm.KeylessSqlBuilder
 
selectByColumns(ColumnSelection<ENTITY, ?>) - Method in class org.hrorm.SqlBuilder
 
selectByColumns(String, Supplier<BUILDER>, ColumnSelection<ENTITY, BUILDER>, List<? extends ChildrenDescriptor<ENTITY, ?, BUILDER, ?>>, ENTITY) - Method in class org.hrorm.SqlRunner
 
selectChildIds(String) - Method in class org.hrorm.SqlBuilder
 
selectFunction(SqlFunction, String, Where) - Method in class org.hrorm.KeylessSqlBuilder
 
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
 
selectMany(List<Long>) - Method in interface org.hrorm.Dao
Read several records from the database by their primary keys.
selectMany(List<Long>) - Method in class org.hrorm.DaoImpl
 
selectManyByColumns(ENTITY, String...) - Method in interface org.hrorm.KeylessDao
Select multiple records from the database by some search criteria.
selectManyByColumns(ENTITY, Order, String...) - Method in interface org.hrorm.KeylessDao
Select multiple records from the database by some search criteria in the required order.
selectManyByColumns(ENTITY, String...) - Method in class org.hrorm.KeylessDaoImpl
 
selectManyByColumns(ENTITY, Order, String...) - Method in class org.hrorm.KeylessDaoImpl
 
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
 
selectWhere(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
 
setKey(ENTITY, Long) - Method in class org.hrorm.DirectPrimaryKey
 
setKey(BUILDER, Long) - Method in class org.hrorm.IndirectPrimaryKey
 
setKey(BUILDER, Long) - Method in interface org.hrorm.PrimaryKey
 
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.AbstractColumn
 
setSqlTypeName(String) - Method in interface org.hrorm.Column
 
setSqlTypeName(String) - Method in class org.hrorm.DaoBuilder
Set the SQL type for the most recently added column.
setSqlTypeName(String) - Method in class org.hrorm.DirectPrimaryKey
 
setSqlTypeName(String) - Method in class org.hrorm.IndirectDaoBuilder
Set the SQL type for the most recently added column.
setSqlTypeName(String) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Set the SQL type for the most recently added column.
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 - Variable in class org.hrorm.AbstractColumn
 
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 class org.hrorm.AbstractColumn
 
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.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.
sql() - Method in class org.hrorm.Schema
The SQL to create the schema described by this object.
SqlBuilder<ENTITY> - Class in org.hrorm
This class generates SQL strings suitable to be used in PreparedStatements.
SqlBuilder(DaoDescriptor<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.KeylessDaoImpl
 
SqlRunner<ENTITY,BUILDER> - Class in org.hrorm
This class does the heavy lifting of creating Statements, executing SQL, and parsing ResultSets.
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.
stringColumn(String, String, Function<ENTITY, String>, BiConsumer<BUILDER, String>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
stringConverterColumn(String, String, Function<ENTITY, E>, BiConsumer<BUILDER, E>, Converter<E, String>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
StringTypes - Static variable in class org.hrorm.ColumnTypes
 
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.AssociationDaoBuilder
 
supplier() - Method in class org.hrorm.DaoBuilder
 
supplier() - Method in class org.hrorm.IndirectDaoBuilder
 
supplier() - Method in class org.hrorm.IndirectKeylessDaoBuilder
 
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.KeylessDaoImpl
 
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
 

T

tableName() - Method in class org.hrorm.AssociationDaoBuilder
 
tableName() - Method in class org.hrorm.DaoBuilder
 
tableName() - Method in class org.hrorm.IndirectDaoBuilder
 
tableName() - Method in class org.hrorm.IndirectKeylessDaoBuilder
 
tableName() - Method in interface org.hrorm.KeylessDaoDescriptor
The name of the table that is used to persist type ENTITY
tableName() - Method in class org.hrorm.KeylessDaoImpl
 
tableName() - Method in class org.hrorm.RelativeDaoDescriptor
 
tables() - Method in class org.hrorm.Schema
All the tables this schema contains.
textBackedBooleanColumn(String, String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
to(Long) - Method in class org.hrorm.BooleanLongConverter
 
to(String) - Method in class org.hrorm.BooleanStringConverter
 
to(CODE) - Method in interface org.hrorm.Converter
Convert an encoded value to the supported class
toString() - Method in class org.hrorm.AbstractColumn
 
toString() - Method in class org.hrorm.ChildrenDescriptor
 
toString() - Method in class org.hrorm.Envelope
 
toString() - Method in class org.hrorm.PopulateResult
 
Transactor - Class in org.hrorm
An aid for managing transactions.
Transactor(Connection) - Constructor for class org.hrorm.Transactor
Use this constructor for a use-once Transactor.
Transactor(Supplier<Connection>) - Constructor for class org.hrorm.Transactor
Use this constructor with a connection source, so that the Transactor can create a new connection each time it needs one.

U

uniquenessConstraints() - Method in class org.hrorm.AssociationDaoBuilder
 
uniquenessConstraints() - Method in class org.hrorm.DaoBuilder
 
uniquenessConstraints() - Method in class org.hrorm.IndirectDaoBuilder
 
uniquenessConstraints() - Method in interface org.hrorm.SchemaDescriptor
A list of column name lists, each of which should be unique.
update(ENTITY) - Method in interface org.hrorm.Dao
Run an update statement to change the values in the database associated with an existing record.
update(ENTITY) - Method in class org.hrorm.DaoImpl
 
update() - Method in interface org.hrorm.Queries
 
update() - Method in class org.hrorm.SqlBuilder
 
update(String, Envelope<ENTITY>) - Method in class org.hrorm.SqlRunner
 

V

validate(Connection, KeylessDaoDescriptor) - Static method in class org.hrorm.KeylessValidator
Calling this method will attempt to check to make sure that certain basics of the Dao definition correctly match the database schema.
validate(Connection, DaoDescriptor) - Static method in class org.hrorm.Validator
Calling this method will attempt to check to make sure that certain basics of the Dao definition correctly match the database schema.
Validator - Class in org.hrorm
A utility for checking whether or not the configuration of a Dao matches the database schema.
Validator() - Constructor for class org.hrorm.Validator
 
valueOf(String) - Static method in enum org.hrorm.WherePredicateTree.Conjunction
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.hrorm.WherePredicateTree.Conjunction
Returns an array containing the constants of this enum type, in the order they are declared.

W

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() - 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).
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
 
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<ENTITY, BigDecimal>) - Method in class org.hrorm.DaoBuilder
Describes a numeric data element with a decimal part.
withBigDecimalColumn(String, Function<ENTITY, BigDecimal>, BiConsumer<BUILDER, BigDecimal>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a numeric data element with a decimal part.
withBigDecimalColumn(String, Function<ENTITY, BigDecimal>, BiConsumer<BUILDER, BigDecimal>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a numeric data element with a decimal part.
withBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<ENTITY, Boolean>) - Method in class org.hrorm.DaoBuilder
Describes a data element that represents a true/false value.
withBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a data element that represents a true/false value that is backed by a SQL boolean column.
withBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a data element that represents a true/false value that is backed by a SQL boolean column.
withChildren(Function<ENTITY, List<CHILD>>, BiConsumer<ENTITY, List<CHILD>>, DaoDescriptor<CHILD, CHILDBUILDER>) - Method in class org.hrorm.DaoBuilder
Describes a relationship between the object ENTITY and its several child objects of type U.
withChildren(Function<ENTITY, List<CHILD>>, BiConsumer<BUILDER, List<CHILD>>, DaoDescriptor<CHILD, CHILDBUILDER>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a relationship between the object ENTITY and its several child objects of type U.
withConvertedGenericColumn(String, Function<ENTITY, U>, BiConsumer<ENTITY, U>, GenericColumn<T>, Converter<U, T>) - Method in class org.hrorm.DaoBuilder
Describes a data element of type U that can be stored in a GenericColumn that stores objects of type T.
withConvertedGenericColumn(String, Function<ENTITY, U>, BiConsumer<BUILDER, U>, GenericColumn<T>, Converter<U, T>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a data element of type U that can be stored in a GenericColumn that stores objects of type T.
withConvertedGenericColumn(String, Function<ENTITY, U>, BiConsumer<BUILDER, U>, GenericColumn<T>, Converter<U, T>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
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<ENTITY, E>, Converter<E, String>) - Method in class org.hrorm.DaoBuilder
Describes a data element with a particular type (like an enumeration) that is persisted using a String representation.
withConvertingStringColumn(String, Function<ENTITY, E>, BiConsumer<BUILDER, E>, Converter<E, String>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a data element with a particular type (like an enumeration) that is persisted using a String representation.
withConvertingStringColumn(String, Function<ENTITY, E>, BiConsumer<BUILDER, E>, Converter<E, String>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a data element with a particular type (like an enumeration) that is persisted using a String representation.
withGenericColumn(String, Function<ENTITY, T>, BiConsumer<ENTITY, T>, GenericColumn<T>) - Method in class org.hrorm.DaoBuilder
Describes a data element of type T that can be stored in a GenericColumn.
withGenericColumn(String, Function<ENTITY, T>, BiConsumer<BUILDER, T>, GenericColumn<T>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a data element of type T that can be stored in a GenericColumn.
withGenericColumn(String, Function<ENTITY, T>, BiConsumer<BUILDER, T>, GenericColumn<T>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a data element of type T that can be stored in a GenericColumn.
withInstantColumn(String, Function<ENTITY, Instant>, BiConsumer<ENTITY, Instant>) - Method in class org.hrorm.DaoBuilder
Describes a data element that represents a time stamp.
withInstantColumn(String, Function<ENTITY, Instant>, BiConsumer<BUILDER, Instant>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a data element that represents a time stamp.
withInstantColumn(String, Function<ENTITY, Instant>, BiConsumer<BUILDER, Instant>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a data element that represents a time stamp.
withIntegerBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<ENTITY, Boolean>) - Method in class org.hrorm.DaoBuilder
Describes a data element that represents a true/false value and is backed by a column holding an integer value.
withIntegerBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a data element that represents a true/false value and is backed by a column holding an integer value.
withIntegerBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a data element that represents a true/false value and is backed by a column holding an integer value.
withIntegerColumn(String, Function<ENTITY, Long>, BiConsumer<ENTITY, Long>) - Method in class org.hrorm.DaoBuilder
Describes a numeric data element with no decimal or fractional part.
withIntegerColumn(String, Function<ENTITY, Long>, BiConsumer<BUILDER, Long>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a numeric data element with no decimal or fractional part.
withIntegerColumn(String, Function<ENTITY, Long>, BiConsumer<BUILDER, Long>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a numeric data element with no decimal or fractional part.
withJoinColumn(String, Function<ENTITY, U>, BiConsumer<ENTITY, U>, DaoDescriptor<U, ?>) - Method in class org.hrorm.DaoBuilder
Describes a data element that is represented by an Object of some other type U with its own table for persistence.
withJoinColumn(String, Function<ENTITY, U>, BiConsumer<BUILDER, U>, DaoDescriptor<U, ?>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a data element that is represented by an Object of some other type U with its own table for persistence.
withJoinColumn(String, Function<ENTITY, U>, BiConsumer<BUILDER, U>, DaoDescriptor<U, ?>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
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.
withParentColumn(String, Function<ENTITY, P>, BiConsumer<ENTITY, P>) - Method in class org.hrorm.DaoBuilder
Indicator that the column is a reference to an owning parent object.
withParentColumn(String) - Method in class org.hrorm.DaoBuilder
Indicator that the column is a reference to an owning parent object.
withParentColumn(String, Function<ENTITY, P>, BiConsumer<BUILDER, P>) - Method in class org.hrorm.IndirectDaoBuilder
Indicator that the column is a reference to an owning parent object.
withParentColumn(String) - Method in class org.hrorm.IndirectDaoBuilder
Indicator that the column is a reference to an owning parent object.
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.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.
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<ENTITY, Boolean>) - Method in class org.hrorm.DaoBuilder
Describes a data element that represents a true/false value and is backed by a column holding a String value.
withStringBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a data element that represents a true/false value and is backed by a column holding a String value.
withStringBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
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<ENTITY, String>) - Method in class org.hrorm.DaoBuilder
Describes a text or string data element.
withStringColumn(String, Function<ENTITY, String>, BiConsumer<BUILDER, String>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a text or string data element.
withStringColumn(String, Function<ENTITY, String>, BiConsumer<BUILDER, String>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a text or string data element.
withTableName(String) - Method in class org.hrorm.AssociationDaoBuilder
Setter for the name of the association table in the database.
withUniqueConstraint(String...) - Method in class org.hrorm.DaoBuilder
Describe a unique constraint on this entity.
withUniqueConstraint(String...) - Method in class org.hrorm.IndirectDaoBuilder
Describe a unique constraint on this entity.
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2019. All rights reserved.