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) - Constructor for class org.hrorm.AbstractColumn
 
allColumns() - Method in interface org.hrorm.KeyedDaoDescriptor
All the columns of the underlying table, both data type and join type.
allColumns() - Method in interface org.hrorm.KeylessDaoDescriptor
All the columns of the underlying table, both data type and join type.
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
 

B

bigDecimalColumn(String, String, Function<ENTITY, BigDecimal>, BiConsumer<BUILDER, BigDecimal>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
BooleanConverter - Class in org.hrorm
This Converter translates true values to "T" and false values to "F".
BooleanConverter() - Constructor for class org.hrorm.BooleanConverter
 
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.DaoBuilder
 
buildFunction() - Method in class org.hrorm.IndirectDaoBuilder
 
buildFunction() - Method in class org.hrorm.IndirectKeylessDaoBuilder
 
buildFunction() - Method in interface org.hrorm.KeyedDaoDescriptor
 
buildFunction() - Method in interface org.hrorm.KeylessDaoDescriptor
 
buildFunction - Variable in class org.hrorm.KeylessDaoImpl
 
buildFunction() - Method in class org.hrorm.KeylessDaoImpl
 
buildFunction() - Method in class org.hrorm.RelativeDaoDescriptor
 
buildKeylessDao(Connection) - Method in class org.hrorm.IndirectDaoBuilder
Creates a Dao for performing CRUD operations of type ENTITY.
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.DaoBuilder
 
childrenDescriptors() - Method in class org.hrorm.IndirectDaoBuilder
 
childrenDescriptors() - Method in class org.hrorm.IndirectKeylessDaoBuilder
 
childrenDescriptors() - Method in interface org.hrorm.KeyedDaoDescriptor
The definitions of any entities that are owned by type ENTITY
childrenDescriptors() - Method in interface org.hrorm.KeylessDaoDescriptor
The definitions of any entities that are owned by type ENTITY
childrenDescriptors - Variable in class org.hrorm.KeylessDaoImpl
 
childrenDescriptors() - Method in class org.hrorm.KeylessDaoImpl
 
childrenDescriptors() - Method in class org.hrorm.RelativeDaoDescriptor
 
closedRangeTo(long) - Static method in class org.hrorm.Operator
To search for items in a range of values, inclusive of the endpoints, where the field is an integer type.
closedRangeTo(BigDecimal) - Static method in class org.hrorm.Operator
To search for items in a range of values, inclusive of the endpoints, where the field is a decimal type.
closedRangeTo(LocalDateTime) - Static method in class org.hrorm.Operator
To search for items in a range of values, inclusive of the endpoints, where the field is a date type.
Column<ENTITY,BUILDER> - Interface in org.hrorm
Represents a column in a table that holds entity values.
columnMap(String...) - Method in interface org.hrorm.KeyedDaoDescriptor
 
columnMap(String...) - Method in interface org.hrorm.KeylessDaoDescriptor
 
columnNames() - Method in class org.hrorm.SelectColumnList
 
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
 
Converter<CLASS,CODE> - Interface in org.hrorm
This interface describes mechanisms for translating objects from one type to another and back.

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.
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 class org.hrorm.DaoBuilder
 
dataColumns() - Method in class org.hrorm.IndirectDaoBuilder
 
dataColumns() - Method in class org.hrorm.IndirectKeylessDaoBuilder
 
dataColumns() - Method in interface org.hrorm.KeylessDaoDescriptor
The columns that contain the data that make up the object
dataColumns() - Method in class org.hrorm.KeylessDaoImpl
 
dataColumns() - Method in class org.hrorm.RelativeDaoDescriptor
 
dataColumnsWithParent() - Method in interface org.hrorm.KeyedDaoDescriptor
 
dataColumnsWithParent(List<Column<ENTITY, ENTITYBUILDER>>, ParentColumn<ENTITY, P, ENTITYBUILDER, PB>, boolean) - Static method in interface org.hrorm.KeylessDaoDescriptor
 
dataColumnsWithParent() - Method in interface org.hrorm.KeylessDaoDescriptor
 
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
 
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 variable in class org.hrorm.SelectColumnList
 
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
 
foldingSelect(ENTITY, T, BiFunction<T, ENTITY, T>, String...) - 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(ENTITY, T, BiFunction<T, ENTITY, T>, String...) - Method in class org.hrorm.KeylessDaoImpl
 
foldingSelect(String, Supplier<BUILDER>, SelectColumnList, Map<String, ? extends Column<ENTITY, ?>>, List<? extends ChildrenDescriptor<ENTITY, ?, BUILDER, ?>>, ENTITY, Function<BUILDER, X>, T, BiFunction<T, X, T>) - Method in class org.hrorm.SqlRunner
 
from(Boolean) - Method in class org.hrorm.BooleanConverter
 
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
 
fromSingletonList(List<A>) - Method in class org.hrorm.KeylessDaoImpl
 

G

getDataColumns() - Method in class org.hrorm.JoinColumn
 
getDataColumns() - Method in class org.hrorm.KeylessSqlBuilder
 
getId() - Method in class org.hrorm.Envelope
 
getItem() - Method in class org.hrorm.Envelope
 
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
 
getMessage() - Method in exception org.hrorm.HrormException
 
getMyPrefix() - Method in class org.hrorm.IndirectDaoBuilder
 
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
 
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.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
 
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(String) - Method in class org.hrorm.Operator
Returns the text to be inserted in the SQL statement being built.
getSqlString() - Method in class org.hrorm.SelectColumnList.ColumnOperatorEntry
 
getTable() - Method in class org.hrorm.JoinColumn
 
getTable() - Method in class org.hrorm.KeylessSqlBuilder
 
getter - Variable in class org.hrorm.AbstractColumn
 
getTransitiveJoins() - Method in class org.hrorm.JoinColumn
 
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.KeyedDaoDescriptor
 
hasParent() - Method in interface org.hrorm.KeylessDaoDescriptor
 
hasSecondParameter() - Method in class org.hrorm.Operator
Indication of whether this operator requires two parameters to be set (it represents a range).
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
 

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 DaoBuilder 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
 
IndirectKeylessDaoBuilder(IndirectDaoBuilder.BuilderHolder<ENTITY, BUILDER>) - 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
 
INSTANCE - Static variable in class org.hrorm.BooleanConverter
 
IntegerTypes - Static variable in class org.hrorm.ColumnTypes
 
internalDaoBuilder - Variable in class org.hrorm.IndirectKeylessDaoBuilder
 
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
 
iterator() - Method in class org.hrorm.SelectColumnList
 

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 class org.hrorm.DaoBuilder
 
joinColumns() - Method in class org.hrorm.IndirectDaoBuilder
 
joinColumns() - Method in class org.hrorm.IndirectKeylessDaoBuilder
 
joinColumns() - Method in interface org.hrorm.KeyedDaoDescriptor
The columns that contain references to foreign keys to other objects
joinColumns() - Method in interface org.hrorm.KeylessDaoDescriptor
The columns that contain references to foreign keys to other objects
joinColumns() - Method in class org.hrorm.KeylessDaoImpl
 
joinColumns() - Method in class org.hrorm.RelativeDaoDescriptor
 

K

KeyedDaoDescriptor<ENTITY,ENTITYBUILDER> - Interface in org.hrorm
Implementers of this interface completely describe all the information necessary to persisting objects of type ENTITY.
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
 
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(DaoDescriptor<ENTITY, ?>) - Constructor for class org.hrorm.KeylessSqlBuilder
 
KeylessSqlBuilder(String, List<? extends Column<ENTITY, ?>>, List<? extends JoinColumn<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.
localDateTimeColumn(String, String, Function<ENTITY, LocalDateTime>, BiConsumer<BUILDER, LocalDateTime>, boolean) - Static method in class org.hrorm.DataColumnFactory
 
LocalDateTimeTypes - Static variable in class org.hrorm.ColumnTypes
 
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
 

N

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
 
NoPrimaryKey - Static variable in class org.hrorm.PopulateResult
 
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

openRangeTo(long) - Static method in class org.hrorm.Operator
To search for items in a range of values, not-inclusive of the endpoints, where the field is an integer type.
openRangeTo(BigDecimal) - Static method in class org.hrorm.Operator
To search for items in a range of values, not-inclusive of the endpoints, where the field is a de cimal type.
openRangeTo(LocalDateTime) - Static method in class org.hrorm.Operator
To search for items in a range of values, not-inclusive of the endpoints, where the field is a date type.
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
org.hrorm - package org.hrorm
Hrorm provides a mechanism for building Dao objects.

P

parentColumn() - Method in class org.hrorm.DaoBuilder
 
parentColumn() - Method in class org.hrorm.IndirectDaoBuilder
 
parentColumn() - Method in class org.hrorm.IndirectKeylessDaoBuilder
 
parentColumn() - Method in interface org.hrorm.KeyedDaoDescriptor
 
parentColumn() - Method in interface org.hrorm.KeylessDaoDescriptor
 
parentColumn - Variable in class org.hrorm.KeylessDaoImpl
 
parentColumn() - Method in class org.hrorm.KeylessDaoImpl
 
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
 
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.DaoBuilder
 
primaryKey() - Method in interface org.hrorm.DaoDescriptor
The primary key for objects of type ENTITY
primaryKey() - Method in class org.hrorm.DaoImpl
 
primaryKey() - Method in class org.hrorm.IndirectDaoBuilder
 
primaryKey() - Method in interface org.hrorm.KeyedDaoDescriptor
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.
primaryKey() - Method in class org.hrorm.RelativeDaoDescriptor
 

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

readLongs(Connection, String, Long) - Static method in class org.hrorm.DaoHelper
 
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
 
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.
runPreparedDelete(Connection, String, Long) - Static method in class org.hrorm.DaoHelper
 

S

saveChildren(Connection, Envelope<PARENT>) - Method in class org.hrorm.ChildrenDescriptor
 
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() - Method in class org.hrorm.KeylessSqlBuilder
 
select() - Method in interface org.hrorm.Queries
 
select() - 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() - 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(SelectColumnList) - Method in class org.hrorm.KeylessSqlBuilder
 
selectByColumns(String...) - Method in interface org.hrorm.Queries
 
selectByColumns(String...) - Method in class org.hrorm.SqlBuilder
 
selectByColumns(String, Supplier<BUILDER>, SelectColumnList, Map<String, ? extends Column<ENTITY, ?>>, List<? extends ChildrenDescriptor<ENTITY, ?, BUILDER, ?>>, ENTITY) - Method in class org.hrorm.SqlRunner
 
selectChildIds(String) - Method in class org.hrorm.SqlBuilder
 
SelectColumnList - Class in org.hrorm
Representation of the column names to be used in a SQL where clause.
SelectColumnList(Map<String, Operator>) - Constructor for class org.hrorm.SelectColumnList
 
SelectColumnList(String...) - Constructor for class org.hrorm.SelectColumnList
 
SelectColumnList.ColumnOperatorEntry - Class in org.hrorm
Representation of a column name and its relevant operator to be used in a SQL where clause.
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, Map<String, Operator>) - Method in interface org.hrorm.KeylessDao
Select multiple records from the database by some search criteria.
selectManyByColumns(ENTITY, String...) - Method in class org.hrorm.KeylessDaoImpl
 
selectManyByColumns(ENTITY, Map<String, Operator>) - Method in class org.hrorm.KeylessDaoImpl
 
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
 
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
 
setSecondParameter(int, PreparedStatement) - Method in class org.hrorm.Operator
Sets the second parameter onto the passed SQL statement.
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
 
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
 
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, List<Column<ENTITY, BUILDER>>) - Constructor for class org.hrorm.SqlRunner
 
SqlRunner(Connection, KeylessDaoDescriptor<ENTITY, BUILDER>) - Constructor for class org.hrorm.SqlRunner
 
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
 
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 - Variable in class org.hrorm.KeylessDaoImpl
 
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.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 - Variable in class org.hrorm.KeylessDaoImpl
 
tableName() - Method in class org.hrorm.KeylessDaoImpl
 
tableName() - Method in class org.hrorm.RelativeDaoDescriptor
 
to(String) - Method in class org.hrorm.BooleanConverter
 
to(CODE) - Method in interface org.hrorm.Converter
Convert an encoded value to the supported class
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

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
 

W

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.
withBooleanColumn(String, Function<ENTITY, Boolean>, BiConsumer<BUILDER, Boolean>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a data element that represents a true/false value.
withChildren(Function<ENTITY, List<U>>, BiConsumer<ENTITY, List<U>>, DaoDescriptor<U, UB>) - 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.
withChildren(Function<ENTITY, List<U>>, BiConsumer<BUILDER, List<U>>, DaoDescriptor<U, UB>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a relationship between the object ENTITY and its several child objects of type U.
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.
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.
withLocalDateTimeColumn(String, Function<ENTITY, LocalDateTime>, BiConsumer<ENTITY, LocalDateTime>) - Method in class org.hrorm.DaoBuilder
Describes a data element that represents a time stamp.
withLocalDateTimeColumn(String, Function<ENTITY, LocalDateTime>, BiConsumer<BUILDER, LocalDateTime>) - Method in class org.hrorm.IndirectDaoBuilder
Describes a data element that represents a time stamp.
withLocalDateTimeColumn(String, Function<ENTITY, LocalDateTime>, BiConsumer<BUILDER, LocalDateTime>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Describes a data element that represents a time stamp.
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.
withParentColumn(String, Function<ENTITY, P>, BiConsumer<BUILDER, P>) - Method in class org.hrorm.IndirectKeylessDaoBuilder
Indicator that the column is a reference to an owning parent object.
withParentColumn(String) - Method in class org.hrorm.IndirectKeylessDaoBuilder
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.
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.
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.