Index

A C D E F G H I M O P Q R S T U 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractMultiQuerySpecification - Class in com.helixframework.db.repository
An abstract implementation of the MultiQuerySpecification interface that provides a base structure for handling multiple query specifications.
AbstractMultiQuerySpecification() - Constructor for class com.helixframework.db.repository.AbstractMultiQuerySpecification
 
AbstractQuerySpecification<T> - Class in com.helixframework.db.repository
An abstract base class implementing the QuerySpecification interface, providing base functionality for query specifications.
AbstractQuerySpecification() - Constructor for class com.helixframework.db.repository.AbstractQuerySpecification
 
add(T) - Method in interface com.helixframework.db.repository.GenericRepository
Adds an entity to the repository.
AutoRollback - Class in com.helixframework.db.tx
AutoCloseable that automatically rolls back the database transaction in the event that it was not committed.
AutoRollback(Connection) - Constructor for class com.helixframework.db.tx.AutoRollback
Creates a new instance of AutoRollback.
AutoSetAutoCommit - Class in com.helixframework.db.tx
AutoCloseable that automatically disables / re-enables JDBC auto-commit.
AutoSetAutoCommit(Connection, boolean) - Constructor for class com.helixframework.db.tx.AutoSetAutoCommit
Creates a new instance of AutoSetAutoCommit.

C

clear() - Method in interface com.helixframework.db.repository.CursorPagedRepository
Deletes all entities from the repository.
clear() - Method in interface com.helixframework.db.repository.GenericRepository
Deletes all entities from the repository.
clear() - Method in interface com.helixframework.db.repository.OffsetPagedRepository
Deletes all entities from the repository.
close() - Method in class com.helixframework.db.tx.AutoRollback
 
close() - Method in class com.helixframework.db.tx.AutoSetAutoCommit
 
com.helixframework.db.pagination - package com.helixframework.db.pagination
 
com.helixframework.db.ps - package com.helixframework.db.ps
 
com.helixframework.db.repository - package com.helixframework.db.repository
 
com.helixframework.db.tx - package com.helixframework.db.tx
 
commit() - Method in class com.helixframework.db.tx.AutoRollback
Commits the current transaction.
CursorPagedRepository<T,K,C> - Interface in com.helixframework.db.repository
Represents a repository that allows cursor-based pagination for querying and manipulating entities.
CursorPagedResult<T> - Class in com.helixframework.db.pagination
Cursor paginated results collection.
CursorPagedResult() - Constructor for class com.helixframework.db.pagination.CursorPagedResult
 
CursorQuerySpecification<T,C> - Interface in com.helixframework.db.repository
Represents a query specification for cursor-based pagination.

D

DEFAULT_LIMIT - Static variable in interface com.helixframework.db.repository.CursorQuerySpecification
Represents the default limit for query specifications used in cursor-based pagination.
DEFAULT_LIMIT - Static variable in interface com.helixframework.db.repository.MappingCursorQuerySpecification
Represents the default limit for query specifications used in cursor-based pagination.
DEFAULT_LIMIT - Static variable in interface com.helixframework.db.repository.MappingOffsetQuerySpecification
Default limit value for a query specification.
DEFAULT_LIMIT - Static variable in interface com.helixframework.db.repository.OffsetQuerySpecification
Default limit value for a query specification.
DEFAULT_OFFSET - Static variable in interface com.helixframework.db.repository.MappingOffsetQuerySpecification
Default offset value for a query specification.
DEFAULT_OFFSET - Static variable in interface com.helixframework.db.repository.OffsetQuerySpecification
Default offset value for a query specification.
DEFAULT_SORT_ORDER - Static variable in interface com.helixframework.db.repository.CursorQuerySpecification
Represents the default sort order for a query specification used in cursor-based pagination.
DEFAULT_SORT_ORDER - Static variable in interface com.helixframework.db.repository.MappingCursorQuerySpecification
Represents the default sort order for a query specification used in cursor-based pagination.
DEFAULT_SORT_ORDER - Static variable in interface com.helixframework.db.repository.MappingOffsetQuerySpecification
Default sort order value for a query specification.
DEFAULT_SORT_ORDER - Static variable in interface com.helixframework.db.repository.OffsetQuerySpecification
Default sort order value for a query specification.

E

equals(Object) - Method in class com.helixframework.db.pagination.CursorPagedResult
 
equals(Object) - Method in class com.helixframework.db.pagination.OffsetPagedResult
 
execute(Connection) - Method in interface com.helixframework.db.repository.MultiQuerySpecification
Executes the specified queries and returns their results in a map, where each entry associates a query name with its corresponding result.
execute(Connection) - Method in interface com.helixframework.db.repository.QuerySpecification
Executes the query defined by this QuerySpecification.
execute(Connection) - Method in interface com.helixframework.db.repository.UpdateSpecification
Executes the update or specified database operation associated with the current implementation of the UpdateSpecification interface.
exists(K) - Method in interface com.helixframework.db.repository.GenericReadonlyRepository
Determines if an entity exists for the given key.
exists(K) - Method in interface com.helixframework.db.repository.GenericRepository
Determines if an entity exists for the given key.

F

find(K) - Method in interface com.helixframework.db.repository.CursorPagedRepository
Finds an entity by its key.
find(K) - Method in interface com.helixframework.db.repository.GenericReadonlyRepository
Finds an entity by its key.
find(K) - Method in interface com.helixframework.db.repository.GenericRepository
Finds an entity by its key.
find(K) - Method in interface com.helixframework.db.repository.OffsetPagedRepository
Finds an entity by its key.
from(long, long, List<T>) - Static method in class com.helixframework.db.pagination.OffsetPagedResult
Creates an OffsetPagedResult object with the given limit, offset, and results.
from(B) - Method in interface com.helixframework.db.repository.Mapper
Converts an object of type B to an object of type A.
from(B) - Method in class com.helixframework.db.repository.MapperAdapter
 
from(B, Map<String, Object>) - Method in interface com.helixframework.db.repository.Mapper
Converts an object of type B to an object of type A using the provided context map.
from(B, Map<String, Object>) - Method in class com.helixframework.db.repository.MapperAdapter
 
from(String, List<T>) - Static method in class com.helixframework.db.pagination.CursorPagedResult
Creates a new CursorPagedResult object with the given cursor and results.

G

GenericReadonlyRepository<T,K> - Interface in com.helixframework.db.repository
 
GenericRepository<T,K> - Interface in com.helixframework.db.repository
GenericRepository is an interface for performing generic CRUD (Create, Read, Update, Delete) operations on entities.
getBooleanOrDefault(ResultSet, String, boolean) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Boolean from the specified column of the ResultSet or returns a specified default value if SQL NULL.
getBooleanOrNull(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Boolean from the specified column of the ResultSet, returning null if the value is SQL NULL.
getCursor() - Method in class com.helixframework.db.pagination.CursorPagedResult
Retrieves the cursor value.
getCursor() - Method in interface com.helixframework.db.repository.CursorQuerySpecification
Gets the cursor for the query specification.
getCursor() - Method in interface com.helixframework.db.repository.MappingCursorQuerySpecification
Gets the cursor for the query specification.
getDoubleOrDefault(ResultSet, String, double) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Double from the specified column of the ResultSet or returns a specified default value if SQL NULL.
getDoubleOrNull(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Double from the specified column of the ResultSet, returning null if the value is SQL NULL.
getFloatOrDefault(ResultSet, String, Float) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Float from the specified column of the ResultSet or returns a specified default value if SQL NULL.
getFloatOrNull(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Float from the specified column of the ResultSet, returning null if the value is SQL NULL.
getIntOrDefault(ResultSet, String, int) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Integer from the specified column of the ResultSet or returns a specified default value if SQL NULL.
getIntOrNull(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Integer from the specified column of the ResultSet, returning null if the value is SQL NULL.
getLimit() - Method in class com.helixframework.db.pagination.OffsetPagedResult
Returns the limit value.
getLimit() - Method in interface com.helixframework.db.repository.CursorQuerySpecification
Retrieves the limit for the query specification used in cursor-based pagination.
getLimit() - Method in interface com.helixframework.db.repository.MappingCursorQuerySpecification
Retrieves the limit for the query specification used in cursor-based pagination.
getLimit() - Method in interface com.helixframework.db.repository.MappingOffsetQuerySpecification
Retrieves the limit of the query.
getLimit() - Method in interface com.helixframework.db.repository.OffsetQuerySpecification
Retrieves the limit of the query.
getList() - Method in class com.helixframework.db.repository.QueryResult
Returns the list of results contained in this QueryResult object.
getLongOrDefault(ResultSet, String, long) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Long from the specified column of the ResultSet or returns a specified default value if SQL NULL.
getLongOrNull(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Long from the specified column of the ResultSet, returning null if the value is SQL NULL.
getMapper() - Method in interface com.helixframework.db.repository.MappingCursorQuerySpecification
Retrieves the ResultSetMapper associated with this query specification.
getMapper() - Method in interface com.helixframework.db.repository.MappingOffsetQuerySpecification
Retrieves the ResultSetMapper associated with this query specification.
getName() - Method in interface com.helixframework.db.repository.MultiQuerySpecification
Retrieves the name associated with this query specification.
getName() - Method in interface com.helixframework.db.repository.QuerySpecification
Retrieves the name associated with this query specification.
getName() - Method in interface com.helixframework.db.repository.UpdateSpecification
Retrieves the name associated with this update specification.
getObjectOrDefault(ResultSet, String, Class<T>, T) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the object of a specific type from the specified column of the ResultSet or returns a given default value if SQL NULL.
getObjectOrNull(ResultSet, String, Class<T>) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves an object of a specific type from the specified column of the ResultSet, returning null if the value is SQL NULL.
getOffset() - Method in class com.helixframework.db.pagination.OffsetPagedResult
Returns the offset value.
getOffset() - Method in interface com.helixframework.db.repository.MappingOffsetQuerySpecification
Retrieves the offset of the query.
getOffset() - Method in interface com.helixframework.db.repository.OffsetQuerySpecification
Retrieves the offset of the query.
getOptionalBoolean(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Boolean from the specified column of the ResultSet as an Optional wrapper.
getOptionalDouble(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Double from the specified column of the ResultSet as an Optional wrapper.
getOptionalFloat(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Float from the specified column of the ResultSet as an Optional wrapper.
getOptionalInt(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Integer from the specified column of the ResultSet as an Optional wrapper.
getOptionalLong(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the Long from the specified column of the ResultSet as an Optional wrapper.
getOptionalObject(ResultSet, String, Class<T>) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the object of a specific type from the specified column of the ResultSet as an Optional wrapper.
getOptionalZonedDateTime(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the ZonedDateTime from the specified column of the ResultSet as an Optional wrapper.
getResults() - Method in class com.helixframework.db.pagination.CursorPagedResult
Retrieves the list of results.
getResults() - Method in class com.helixframework.db.pagination.OffsetPagedResult
Returns the list of results.
getSingle() - Method in class com.helixframework.db.repository.QueryResult
Retrieves the single result from the QueryResult as an Optional.
getSortOrder() - Method in interface com.helixframework.db.repository.CursorQuerySpecification
Returns the sort order for the query specification used in cursor-based pagination.
getSortOrder() - Method in interface com.helixframework.db.repository.MappingCursorQuerySpecification
Returns the sort order for the query specification used in cursor-based pagination.
getSortOrder() - Method in interface com.helixframework.db.repository.MappingOffsetQuerySpecification
Retrieves the sort order of the query.
getSortOrder() - Method in interface com.helixframework.db.repository.OffsetQuerySpecification
Retrieves the sort order of the query.
getTxId() - Method in class com.helixframework.db.repository.AbstractMultiQuerySpecification
 
getTxId() - Method in class com.helixframework.db.repository.AbstractQuerySpecification
 
getTxId() - Method in interface com.helixframework.db.repository.MultiQuerySpecification
Retrieves the transaction ID associated with this query specification.
getTxId() - Method in interface com.helixframework.db.repository.QuerySpecification
Retrieves the transaction ID associated with this query specification.
getTxId() - Method in interface com.helixframework.db.repository.UpdateSpecification
Retrieves the transaction ID associated with this update specification.
getZonedDateTimeOrDefault(ResultSet, String, ZonedDateTime) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the ZonedDateTime from the specified column of the ResultSet or returns a given default value if SQL NULL.
getZonedDateTimeOrNull(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Retrieves the ZonedDateTime from the specified column of the ResultSet, returning null if the value is SQL NULL.

H

hasColumn(ResultSet, String) - Method in interface com.helixframework.db.repository.ResultSetSupport
Checks whether the specified column exists in the given ResultSet.
hashCode() - Method in class com.helixframework.db.pagination.CursorPagedResult
 
hashCode() - Method in class com.helixframework.db.pagination.OffsetPagedResult
 

I

isEmpty() - Method in class com.helixframework.db.repository.QueryResult
Checks if the QueryResult object is empty.
isValid(ResultSet) - Method in interface com.helixframework.db.repository.ResultSetSupport
Checks whether the given ResultSet is valid and not closed.
iterator() - Method in class com.helixframework.db.pagination.CursorPagedResult
 
iterator() - Method in class com.helixframework.db.pagination.OffsetPagedResult
 
iterator() - Method in class com.helixframework.db.repository.QueryResult
 

M

map(ResultSet) - Method in interface com.helixframework.db.repository.ResultSetMapper
Maps a ResultSet to an object of type T.
mapAll(ResultSet) - Method in interface com.helixframework.db.repository.ResultSetMapper
Maps each row of a ResultSet to a list of objects of type T.
Mapper<A,B> - Interface in com.helixframework.db.repository
This interface defines a Mapper that can be used to convert between two types, A and B.
MapperAdapter<A,B> - Class in com.helixframework.db.repository
This abstract class implements the Mapper interface to provide a base adapter for converting between two types, A and B.
MapperAdapter() - Constructor for class com.helixframework.db.repository.MapperAdapter
 
MappingCursorQuerySpecification<R,C> - Interface in com.helixframework.db.repository
The MappingCursorQuerySpecification interface represents a query specification used in cursor-based pagination.
MappingOffsetQuerySpecification<R> - Interface in com.helixframework.db.repository
MappingOffsetQuerySpecification represents a query specification with offset-based pagination functionality and mapping capabilities.
MultiQuerySpecification - Interface in com.helixframework.db.repository
Defines a query or queries to execute that result in a map of named query results.

O

OffsetPagedRepository<T,K> - Interface in com.helixframework.db.repository
Represents a repository with offset-based pagination functionality.
OffsetPagedResult<T> - Class in com.helixframework.db.pagination
Offset paginated results collection.
OffsetPagedResult() - Constructor for class com.helixframework.db.pagination.OffsetPagedResult
 
OffsetQuerySpecification<T> - Interface in com.helixframework.db.repository
Represents a query specification with offset and limit functionality.

P

PreparedStatementSupport - Interface in com.helixframework.db.ps
Interface providing utility methods for setting parameters in a PreparedStatement with nullable values.

Q

query(CursorQuerySpecification<T, C>) - Method in interface com.helixframework.db.repository.CursorPagedRepository
Executes a query based on the given query specification.
query(MappingCursorQuerySpecification<T, C>) - Method in interface com.helixframework.db.repository.CursorPagedRepository
Executes a query based on the given query specification.
query(MappingOffsetQuerySpecification<T>) - Method in interface com.helixframework.db.repository.OffsetPagedRepository
Executes a query based on the given query specification.
query(QuerySpecification<T>) - Method in interface com.helixframework.db.repository.GenericReadonlyRepository
Executes a query based on the given query specification.
query(QuerySpecification<T>) - Method in interface com.helixframework.db.repository.GenericRepository
Executes a query based on the given query specification.
query(QuerySpecification<T>) - Method in interface com.helixframework.db.repository.OffsetPagedRepository
Executes a query based on the given query specification.
QueryResult<T> - Class in com.helixframework.db.repository
Represents a query result containing a list of results of type T.
QueryResult(List<T>) - Constructor for class com.helixframework.db.repository.QueryResult
Constructs a QueryResult object with the provided list of results.
QueryResult(T) - Constructor for class com.helixframework.db.repository.QueryResult
Constructs a QueryResult object with a single result provided in the parameter.
QuerySpecification<T> - Interface in com.helixframework.db.repository
Defines a query to execute.

R

remove(UpdateSpecification) - Method in interface com.helixframework.db.repository.CursorPagedRepository
Removes entities from the repository according to the specifications provided.
remove(UpdateSpecification) - Method in interface com.helixframework.db.repository.GenericRepository
Removes entities from the repository based on the provided update specification.
remove(UpdateSpecification) - Method in interface com.helixframework.db.repository.OffsetPagedRepository
Removes entities from the repository according to the specifications provided.
remove(T) - Method in interface com.helixframework.db.repository.CursorPagedRepository
Removes an entity from the repository.
remove(T) - Method in interface com.helixframework.db.repository.GenericRepository
Removes an entity from the repository.
remove(T) - Method in interface com.helixframework.db.repository.OffsetPagedRepository
Removes an entity from the repository.
ResultSetMapper<T> - Interface in com.helixframework.db.repository
The ResultSetMapper interface is used for mapping a ResultSet to an object or a list of objects.
ResultSetSupport - Interface in com.helixframework.db.repository
The ResultSetSupport interface provides utility methods to simplify the retrieval of columns from a ResultSet.

S

setBooleanOrDefault(PreparedStatement, int, Boolean, Boolean) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter to a boolean value or a default value in a PreparedStatement.
setBooleanOrNull(PreparedStatement, int, Boolean) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter to a boolean value or to NULL in a PreparedStatement.
setCursor(String) - Method in class com.helixframework.db.pagination.CursorPagedResult
Sets the cursor value.
setDoubleOrDefault(PreparedStatement, int, Double, Double) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter to a double value or a default value in a PreparedStatement.
setDoubleOrNull(PreparedStatement, int, Double) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter to a double value or to NULL in a PreparedStatement.
setIntOrDefault(PreparedStatement, int, Integer, Integer) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter to an integer value or a default value in a PreparedStatement.
setIntOrNull(PreparedStatement, int, Integer) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter to an integer value or to NULL in a PreparedStatement.
setJsonbOrNull(PreparedStatement, int, Object, Class<?>, ObjectMapper) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the given value as a JSONB string in the specified parameter index of the PreparedStatement.
setLimit(long) - Method in class com.helixframework.db.pagination.OffsetPagedResult
Sets the limit value.
setLongOrDefault(PreparedStatement, int, Long, Long) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter to a long value or a default value in a PreparedStatement.
setLongOrNull(PreparedStatement, int, Long) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter to a long value or to NULL in a PreparedStatement.
setObjectOrNull(PreparedStatement, int, Object, int) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter in a PreparedStatement to the given object value or to NULL.
setOffset(long) - Method in class com.helixframework.db.pagination.OffsetPagedResult
Sets the offset value.
setResults(List<T>) - Method in class com.helixframework.db.pagination.CursorPagedResult
Sets the list of results.
setResults(List<T>) - Method in class com.helixframework.db.pagination.OffsetPagedResult
Sets the list of results.
setTxId(String) - Method in class com.helixframework.db.repository.AbstractMultiQuerySpecification
Sets the transaction identifier (txId) for the current instance.
setTxId(String) - Method in class com.helixframework.db.repository.AbstractQuerySpecification
Sets the transaction ID for the query specification.
setZonedDateTimeOrDefault(PreparedStatement, int, ZonedDateTime, ZonedDateTime) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter to the given ZonedDateTime value or a default value in a PreparedStatement.
setZonedDateTimeOrNull(PreparedStatement, int, ZonedDateTime) - Method in interface com.helixframework.db.ps.PreparedStatementSupport
Sets the specified parameter in a PreparedStatement to the given ZonedDateTime value or to NULL.
size() - Method in class com.helixframework.db.pagination.CursorPagedResult
Retrieves the size of the results list.
size() - Method in class com.helixframework.db.pagination.OffsetPagedResult
Returns the size of the list of results.
size() - Method in class com.helixframework.db.repository.QueryResult
Returns the number of results in this QueryResult object.
stream() - Method in class com.helixframework.db.repository.QueryResult
Returns a Stream of elements contained in this QueryResult object.

T

to(A) - Method in interface com.helixframework.db.repository.Mapper
Converts an object of type A to an object of type B.
to(A) - Method in class com.helixframework.db.repository.MapperAdapter
 
to(A, Map<String, Object>) - Method in interface com.helixframework.db.repository.Mapper
Converts an object of type A to an object of type B using the provided context map.
to(A, Map<String, Object>) - Method in class com.helixframework.db.repository.MapperAdapter
 
toList() - Method in class com.helixframework.db.repository.QueryResult
Returns the results of this QueryResult object as a new ArrayList.
txId - Variable in class com.helixframework.db.repository.AbstractMultiQuerySpecification
 
txId - Variable in class com.helixframework.db.repository.AbstractQuerySpecification
 

U

update(UpdateSpecification) - Method in interface com.helixframework.db.repository.CursorPagedRepository
Updates entities in the repository based on the provided update specification.
update(UpdateSpecification) - Method in interface com.helixframework.db.repository.GenericRepository
Updates entities in the repository based on the provided update specification.
update(UpdateSpecification) - Method in interface com.helixframework.db.repository.OffsetPagedRepository
Updates entities in the repository according to the specifications provided.
update(T) - Method in interface com.helixframework.db.repository.CursorPagedRepository
Updates an entity in the repository.
update(T) - Method in interface com.helixframework.db.repository.GenericRepository
Updates an entity in the repository.
update(T) - Method in interface com.helixframework.db.repository.OffsetPagedRepository
Updates an entity in the repository.
UpdateSpecification - Interface in com.helixframework.db.repository
The UpdateSpecification interface defines a contract for performing update operations on a database.
A C D E F G H I M O P Q R S T U 
All Classes and Interfaces|All Packages|Constant Field Values