enum class AggregateFunctionType |
|
sealed class AttachmentQueryCriteria : GenericQueryCriteria<AttachmentQueryCriteria, AttachmentsQueryCriteriaParser>, ChainableQueryCriteria<AttachmentQueryCriteria, AttachmentsQueryCriteriaParser> |
|
data class AttachmentSort : BaseSort |
|
interface AttachmentsQueryCriteriaParser : BaseQueryCriteriaParser<AttachmentQueryCriteria, AttachmentsQueryCriteriaParser, AttachmentSort> |
|
interface BaseQueryCriteriaParser<Q : GenericQueryCriteria<Q, P>, in P : BaseQueryCriteriaParser<Q, P, S>, in S : BaseSort> |
|
abstract class BaseSort |
|
enum class BinaryComparisonOperator : Operator |
|
enum class BinaryLogicalOperator : Operator |
|
object Builder |
|
enum class CollectionOperator : Operator |
|
class Column<O, out C> |
|
sealed class ColumnPredicate<C> |
|
interface CordaTransactionSupport |
|
sealed class CriteriaExpression<O, out T> |
|
enum class EqualityComparisonOperator : Operator |
|
class FieldInfo
Contains information about a field from an entity class. Used as part of query criteria construction through Builder, produced by function getField. The constructor should not be invoked manually. |
|
interface GenericQueryCriteria<Q : GenericQueryCriteria<Q, *>, in P : BaseQueryCriteriaParser<Q, *, *>> |
|
interface IQueryCriteriaParser : BaseQueryCriteriaParser<QueryCriteria, IQueryCriteriaParser, Sort> |
|
enum class LikenessOperator : Operator |
|
enum class NullOperator : Operator |
|
interface Operator |
|
data class PageSpecification
PageSpecification allows specification of a page number (starting from DEFAULT_PAGE_NUM) and page size (defaulting to DEFAULT_PAGE_SIZE with a maximum page size of MAX_PAGE_SIZE) Note: we default the page number to DEFAULT_PAGE_SIZE to enable queries without requiring a page specification but enabling detection of large results sets that fall out of the DEFAULT_PAGE_SIZE requirement. MAX_PAGE_SIZE should be used with extreme caution as results may exceed your JVM memory footprint. |
|
sealed class QueryCriteria : GenericQueryCriteria<QueryCriteria, IQueryCriteriaParser>, ChainableQueryCriteria<QueryCriteria, IQueryCriteriaParser>
Indexing assumptions: QueryCriteria assumes underlying schema tables are correctly indexed for performance. |
|
interface SessionScope
Represents scope for the operation when JPA Session been created, i.e. transaction started. |
|
data class Sort : BaseSort
Sort allows specification of a set of entity attribute names and their associated directionality and null handling, to be applied upon processing a query specification. |
|
sealed class SortAttribute |
const val DEFAULT_PAGE_NUM: Int
Pagination and Ordering |
|
const val DEFAULT_PAGE_SIZE: Int |
|
const val MAX_PAGE_SIZE: Int
Note: use PageSpecification to correctly handle a number of bounded pages of a pre-configured page size. |
fun <A> builder(block: Builder.() -> A): A |
|
fun <O, C> getColumnName(column: Column<O, C>): String |
|
fun getField(fieldName: String, entityClass: Class<*>): FieldInfo
Returns a FieldInfo for field with name fieldName in entityClass. |
|
fun <O, C> resolveEnclosingObjectFromColumn(column: Column<O, C>): Class<O> |
|
fun <O, R> resolveEnclosingObjectFromExpression(expression: CriteriaExpression<O, R>): Class<O> |