StorageSupport

class StorageSupport @InternalWowApi constructor(val paging: PagingSupport = PagingSupport(), val aggregation: AggregationSupport = AggregationSupport(), val parallelArraySort: SupportMode = SupportMode.NATIVE, val absentValues: AbsentValues = AbsentValues.DISTINCT, val arrayEquality: SupportMode = SupportMode.NATIVE, val datasetAccess: SupportMode = SupportMode.NONE, val nullElementSort: SupportMode = SupportMode.NATIVE)

What a storage declares beyond each field's native capabilities, bound into the schema by its adapter (QueryStorageFacts.Builder.storage); a storage declares it with of, or takes NATIVE.

Constructors

Link copied to clipboard
constructor(paging: PagingSupport = PagingSupport(), aggregation: AggregationSupport = AggregationSupport(), parallelArraySort: SupportMode = SupportMode.NATIVE, absentValues: AbsentValues = AbsentValues.DISTINCT, arrayEquality: SupportMode = SupportMode.NATIVE, datasetAccess: SupportMode = SupportMode.NONE, nullElementSort: SupportMode = SupportMode.NATIVE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

How presence operators see a stored null and an empty array.

Link copied to clipboard
Link copied to clipboard

EQ / NE with an array operand (exact array equality). NATIVE or NONE: with NONE admission rejects such an operand and the descriptor lists an ARRAY_EQUALITY constraint.

Link copied to clipboard

The restriction of a dataset bound to an aggregate (me.ahoo.wow.query.dataset.DatasetAccess): its rows by the current access attributes of the aggregate each row is of. NATIVE or NONE, and NONE unless the storage declares it: an access policy then reads none of such a dataset's rows but for a predicate that grants every aggregate.

Link copied to clipboard

Sorting by an array whose elements may be null, which the query protocol orders by its least element ascending, a null element the least. NATIVE or NONE: a storage that does not see a null element (it indexes none) declares NONE, and admission refuses such a sort (sorts) rather than have it ordered otherwise.

Link copied to clipboard
Link copied to clipboard

Sorting by two array-valued fields on independent array paths. NATIVE or NONE: with NONE admission rejects such a sort and the descriptor lists the array-valued sort fields as a PARALLEL_ARRAY_SORT constraint.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Whether this storage sorts a field holding value as the protocol orders it: see nullElementSort.

Link copied to clipboard
open override fun toString(): String