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

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
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 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.

B

BIG_DECIMAL - Static variable in class org.hrorm.GenericColumn
An instance that supports BigDecimal data elements.
bigDecimalColumn(String, String, Function<ENTITY, BigDecimal>, BiConsumer<BUILDER, BigDecimal>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
BOOLEAN - Static variable in class org.hrorm.GenericColumn
An instance that supports Boolean or boolean data elements.
booleanColumn(String, String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
booleanConverter(String, String) - Static method in class org.hrorm.Converters
Produces a converter instance for encoding boolean values as String values.
booleanConverter(Long, Long) - Static method in class org.hrorm.Converters
Produces a converter instance for encoding boolean values as Long values.
BooleanTypes - Static variable in class org.hrorm.ColumnTypes
 
buildDao(Connection) - Method in class org.hrorm.AbstractDaoBuilder
 
buildDao(Connection) - Method in class org.hrorm.AssociationDaoBuilder
Creates a new AssociationDao using the passed Connection.
buildDao(Connection) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Creates a Dao for performing CRUD operations of type ENTITY.
buildFunction() - Method in class org.hrorm.AbstractDao
 
buildFunction() - Method in class org.hrorm.AbstractKeylessDaoBuilder
 
buildFunction() - Method in class org.hrorm.AssociationDaoBuilder
 
buildFunction() - Method in interface org.hrorm.KeylessDaoDescriptor
The mechanism for building a new entity instance.
buildFunction() - Method in class org.hrorm.RelativeDaoDescriptor
 
buildPopulator(ENTITY) - Method in class org.hrorm.ColumnSelection
 
buildQueries() - Method in class org.hrorm.AbstractDaoBuilder
 
buildQueries() - Method in class org.hrorm.AssociationDaoBuilder
 
buildQueries() - Method in interface org.hrorm.SchemaDescriptor
 
BYTE - Static variable in class org.hrorm.GenericColumn
An instance that supports Byte or byte data elements.

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.AbstractDao
 
childrenDescriptors() - Method in class org.hrorm.AbstractDaoBuilder
 
childrenDescriptors - Variable in class org.hrorm.AbstractKeylessDaoBuilder
 
childrenDescriptors() - Method in class org.hrorm.AssociationDaoBuilder
 
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.KeylessDaoImpl
 
childrenDescriptors() - Method in class org.hrorm.RelativeDaoDescriptor
 
ChildrenSelector<CHILD,CHILDBUILDER> - Interface in org.hrorm
Describes a generic way for selecting children that can be applied for several child selection strategies.
ChildrenSelector.Factory - Class in org.hrorm
 
ChildrenSelector.SelectAllChildren<CHILD,CHILDBUILDER> - Class in org.hrorm
 
ChildrenSelector.SelectByIds<CHILD,CHILDBUILDER> - Class in org.hrorm
 
ChildrenSelector.SubSelectChildren<CHILD,CHILDBUILDER> - Class in org.hrorm
 
childSelectStrategy() - Method in class org.hrorm.AbstractDaoBuilder
 
childSelectStrategy() - Method in class org.hrorm.AssociationDaoBuilder
 
ChildSelectStrategy - Enum in org.hrorm
 
childSelectStrategy() - Method in interface org.hrorm.DaoDescriptor
 
childSelectStrategy() - Method in class org.hrorm.DaoImpl
 
childSelectStrategy() - Method in class org.hrorm.RelativeDaoDescriptor
 
childTableName() - Method in class org.hrorm.ChildrenDescriptor
 
Column<DBTYPE,CLASSTYPE,ENTITY,BUILDER> - Interface in org.hrorm
Represents a means for reading or writing a value of a column on a database table for a particular entity class.
columnByName(String) - Method in class org.hrorm.ColumnCollection
 
columnCollection - Variable in class org.hrorm.AbstractKeylessDaoBuilder
 
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
 
ColumnImpl<DBTYPE,CLASSTYPE,ENTITY,BUILDER> - Class in org.hrorm
A basic implementation of the Column interface for data elements.
ColumnImpl(GenericColumn<DBTYPE>, String, String, Function<ENTITY, CLASSTYPE>, BiConsumer<BUILDER, CLASSTYPE>, String, boolean, Converter<CLASSTYPE, DBTYPE>) - Constructor for class org.hrorm.ColumnImpl
 
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.AbstractDao
 
constraints() - Method in class org.hrorm.Schema
All the constraints this schema contains.
convertedGenericColumn(String, String, Function<ENTITY, CLASSTYPE>, BiConsumer<BUILDER, CLASSTYPE>, GenericColumn<DBTYPE>, Converter<CLASSTYPE, DBTYPE>, 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.
Converters - Class in org.hrorm
Some Converter implementations and factory methods.
Converters() - Constructor for class org.hrorm.Converters
 
COUNT - Static variable in class org.hrorm.SqlFunction
To run the SQL COUNT function on a column in a table.
create(ChildSelectStrategy, boolean, Supplier<List<Long>>, Supplier<String>, StatementPopulator) - Static method in class org.hrorm.ChildrenSelector.Factory
 

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 - Variable in class org.hrorm.AbstractKeylessDaoBuilder
 
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.
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.
directColumn(GenericColumn<T>, String, String, Function<E, T>, BiConsumer<B, T>, String, boolean) - Static method in class org.hrorm.ColumnImpl
 
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
 
doSelection(SelectionInstruction, Supplier<BUILDER>, List<? extends ChildrenDescriptor<ENTITY, ?, BUILDER, ?>>, StatementPopulator) - Method in class org.hrorm.SqlRunner
 
DOUBLE - Static variable in class org.hrorm.GenericColumn
An instance that supports Double or double data elements.

E

empty() - Static method in class org.hrorm.ColumnSelection
 
Empty() - Constructor for class org.hrorm.StatementPopulator.Empty
 
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.
equals(Object) - Method in class org.hrorm.Pair
 
equals(Object) - Method in class org.hrorm.Triplet
 

F

Factory() - Constructor for class org.hrorm.ChildrenSelector.Factory
 
findErrors(Connection, KeylessDaoDescriptor) - Static method in class org.hrorm.KeylessValidator
 
FLOAT - Static variable in class org.hrorm.GenericColumn
An instance that supports Float or float data elements.
foldingSelect(T, BiFunction<T, ENTITY, T>, Where) - Method in class org.hrorm.AbstractDao
 
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(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
 
forGeneric(String, Operator, V, GenericColumn<V>) - Static method in class org.hrorm.WherePredicate
 
forInstant(String, Operator, Instant) - Static method in class org.hrorm.WherePredicate
 
forLong(String, Operator, Long) - Static method in class org.hrorm.WherePredicate
 
forSelectAll(String, String) - Static method in class org.hrorm.SelectionInstruction
 
forString(String, Operator, String) - Static method in class org.hrorm.WherePredicate
 
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
 
fromJoinColumn(Envelope<?>, Map<String, PopulateResult>) - Static method in class org.hrorm.PopulateResult
 
fromResultSet(ResultSet) - Method in interface org.hrorm.Column
Parses a result set object for the value of this column using its name without using the prefix value.
fromResultSet(ResultSet, String) - Method in class org.hrorm.GenericColumn
 
fromSingletonList(List<A>) - Static method in class org.hrorm.AbstractDao
 

G

genericColumn(String, String, Function<ENTITY, TYPE>, BiConsumer<BUILDER, TYPE>, GenericColumn<TYPE>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
GenericColumn<TYPE> - Class in org.hrorm
A representation of a database column that directly persists 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.
GenericColumn(PreparedStatementSetter<TYPE>, ResultSetReader<TYPE>, int, String, Set<Integer>) - 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
 
getChildSelectStrategy() - Method in class org.hrorm.SelectionInstruction
 
getColumnCollection() - Method in class org.hrorm.AbstractDao
 
getColumnCollection() - Method in class org.hrorm.AbstractKeylessDaoBuilder
 
getColumnCollection() - Method in class org.hrorm.AssociationDaoBuilder
 
getColumnCollection() - Method in interface org.hrorm.KeylessDaoDescriptor
 
getColumnCollection() - Method in class org.hrorm.RelativeDaoDescriptor
 
getDataColumns() - Method in class org.hrorm.ColumnCollection
 
getFirst() - Method in class org.hrorm.Pair
 
getFirst() - Method in class org.hrorm.Triplet
 
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
 
getJoinedDaoDescriptor() - Method in class org.hrorm.JoinColumn
 
getJoinedItem() - Method in class org.hrorm.PopulateResult
 
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
Reads the value of the primary key from the passed entity object.
getKeyPrimitive(ENTITY) - Method in interface org.hrorm.PrimaryKey
Reads the value of the primary key from the passed entity object.
getLeft() - Method in class org.hrorm.Association
 
getMessage() - Method in exception org.hrorm.HrormException
 
getName() - Method in interface org.hrorm.Column
The name of the database column this instance represents.
getName() - Method in class org.hrorm.ColumnImpl
 
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
 
getNonJoinColumns() - Method in class org.hrorm.JoinColumn
 
getParentColumn() - Method in class org.hrorm.ColumnCollection
 
getParentColumnName() - Method in class org.hrorm.SelectionInstruction
 
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 interface org.hrorm.Column
The prefix that should be used for this column when generating SQL.
getPrefix() - Method in class org.hrorm.ColumnImpl
 
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
 
getPrimaryKeySql() - Method in class org.hrorm.SelectionInstruction
 
getRight() - Method in class org.hrorm.Association
 
getSecond() - Method in class org.hrorm.Pair
 
getSecond() - Method in class org.hrorm.Triplet
 
getSelectSql() - Method in class org.hrorm.SelectionInstruction
 
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 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
 
getSubResults() - Method in class org.hrorm.PopulateResult
 
getSupplier() - Method in class org.hrorm.DaoBuilderHelper
 
getSupportedTypes() - Method in class org.hrorm.GenericColumn
 
getTable() - Method in class org.hrorm.JoinColumn
 
getTableName() - Method in class org.hrorm.DaoBuilderHelper
 
getThird() - Method in class org.hrorm.Triplet
 
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

hashCode() - Method in class org.hrorm.Pair
 
hashCode() - Method in class org.hrorm.Triplet
 
hasParent() - Method in interface org.hrorm.DaoDescriptor
Indicator of whether or not this entity has a parent.
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

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
 

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
JoinedChildrenSelector<ENTITY,BUILDER> - Class in org.hrorm
This class holds cached joined objects temporarily until their children are queried.
JoinedChildrenSelector(KeylessDaoDescriptor<ENTITY, BUILDER>, ChildSelectStrategy, boolean) - Constructor for class org.hrorm.JoinedChildrenSelector
 
JoinedItemResult - Static variable in class org.hrorm.PopulateResult
 
joinedSelectStrategies() - Method in class org.hrorm.ColumnCollection
 
joinedSelectStrategies() - Method in interface org.hrorm.KeylessDaoDescriptor
The child select strategies used by any joined DAO objects, keyed by their table names.

K

KeylessDao<ENTITY> - Interface in org.hrorm
A KeylessDao supports some operations for inserting and selecting records in a database.
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,BUILDER> - Class in org.hrorm
The KeylessDao implementation.
KeylessDaoImpl(Connection, KeylessDaoDescriptor<ENTITY, BUILDER>) - Constructor for class org.hrorm.KeylessDaoImpl
 
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.
LONG - Static variable in class org.hrorm.GenericColumn
An instance that supports Long or long data elements.
longBackedBooleanColumn(String, String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
longColumn(String, String, Function<ENTITY, Long>, BiConsumer<BUILDER, Long>, boolean) - Static method in class org.hrorm.DataColumnFactory
 

M

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

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
 

O

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.

P

Pair<T,U> - Class in org.hrorm
Represents a two-tuple of objects.
Pair(T, U) - Constructor for class org.hrorm.Pair
 
parentChildColumnName() - Method in class org.hrorm.ChildrenDescriptor
 
parentColumn() - Method in class org.hrorm.AbstractDaoBuilder
 
parentColumn() - Method in class org.hrorm.AssociationDaoBuilder
 
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<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
 
parentColumnName() - Method in interface org.hrorm.DaoDescriptor
 
populate(BUILDER, ResultSet) - Method in interface org.hrorm.Column
Populates the passed builder object with the data read from the database.
populate(BUILDER, ResultSet) - Method in class org.hrorm.ColumnImpl
 
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 class org.hrorm.StatementPopulator.Empty
 
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, List<Envelope<PARENTBUILDER>>, ChildrenSelector<CHILD, CHILDBUILDER>) - Method in class org.hrorm.ChildrenDescriptor
 
populateChildren(Connection, StatementPopulator) - Method in class org.hrorm.JoinedChildrenSelector
 
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 - 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
 
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 interface org.hrorm.StatementPopulator
 
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
 
renderNoPrefix() - Method in class org.hrorm.Where
 
ResultSetReader<TYPE> - Interface in org.hrorm
An interface representing a function that can read a value out of a java.sql.ResultSet.
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 class org.hrorm.AbstractDao
 
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(String, Where) - Method in class org.hrorm.SqlRunner
 
runLongFunction(SqlFunction, String, Where) - Method in class org.hrorm.AbstractDao
 
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(String, Where) - Method in class org.hrorm.SqlRunner
 
runPreparedDelete(String, Long) - Method in class org.hrorm.SqlRunner
 
runSelectChildIds(String, Long) - Method in class org.hrorm.SqlRunner
 
runSequenceNextValue(String) - Method in class org.hrorm.SqlRunner
 

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() - 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
This class generates SQL strings suitable to be used in PreparedStatements.
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 Statements, executing SQL, and parsing ResultSets.
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
 

T

T_F_BOOLEAN_STRING_CONVERTER - Static variable in class org.hrorm.Converters
This Converter translates true values to "T" and false values to "F".
tableName() - Method in class org.hrorm.AbstractDao
 
tableName() - Method in class org.hrorm.AbstractKeylessDaoBuilder
 
tableName() - Method in class org.hrorm.AssociationDaoBuilder
 
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.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
 
TIMESTAMP - Static variable in class org.hrorm.GenericColumn
An instance that supports Timestamp data elements.
to(CODE) - Method in interface org.hrorm.Converter
Convert an encoded value to the supported class
toClassType(DBTYPE) - Method in interface org.hrorm.Column
Applies any Converter associated with this column to a raw database type.
toClassType(DBTYPE) - Method in class org.hrorm.ColumnImpl
 
toClassType(Long) - Method in class org.hrorm.DirectPrimaryKey
 
toClassType(Long) - Method in class org.hrorm.IndirectPrimaryKey
 
toClassType(Long) - Method in class org.hrorm.JoinColumn
 
toClassType(Long) - Method in class org.hrorm.NoBackReferenceParentColumn
 
toClassType(Long) - Method in class org.hrorm.ParentColumnImpl
 
toString() - Method in class org.hrorm.ChildrenDescriptor
 
toString() - Method in class org.hrorm.Envelope
 
toString() - Method in class org.hrorm.Pair
 
toString() - Method in class org.hrorm.PopulateResult
 
toString() - Method in class org.hrorm.SelectionInstruction
 
toString() - Method in class org.hrorm.Triplet
 
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.
Triplet<T,U,V> - Class in org.hrorm
Represents a three-tuple of objects.
Triplet(T, U, V) - Constructor for class org.hrorm.Triplet
 

U

uniquenessConstraints() - Method in class org.hrorm.AbstractDaoBuilder
 
uniquenessConstraints() - Method in class org.hrorm.AssociationDaoBuilder
 
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 KeylessDao 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.
validateConsistencyOfJoinedSelectStrategies() - Method in interface org.hrorm.DaoDescriptor
 
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.ChildSelectStrategy
Returns the enum constant of this type with the specified name.
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.ChildSelectStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
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(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.
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.