Interface QueryType<EntityDataType,​ResultType,​QueryBuilder extends Query<?>>

  • Type Parameters:
    ResultType -
    QueryBuilder -
    All Known Implementing Classes:
    IndexQueryType

    public interface QueryType<EntityDataType,​ResultType,​QueryBuilder extends Query<?>>
    Type interface that creates instances of Query. When an Entity is queried the query type is responsible for creating a Query instance that calls a QueryRunner to execute the query and transform the results.

    A QueryType has three generic attributes, EntityDataType is the type the entity works with, such as StreamingInput for StructuredEntity or any object type for ObjectEntity. It is assumed that the EntityDataType can be modified to support composing of queries.

    Author:
    Andreas Holstenson