Class Query.ResultType<V> (2.19.0)

public abstract static class Query.ResultType<V> implements Serializable

This class represents the expected type of the result. ENTITY: A full entity represented by Entity. PROJECTION_ENTITY: A projection entity, represented by ProjectionEntity. KEY: An entity's Key.

Inheritance

Object > Query.ResultType<V>

Implements

Serializable

Type Parameter

NameDescription
V

Static Fields

ENTITY

public static final Query.ResultType<Entity> ENTITY
Field Value
TypeDescription
ResultType<Entity>

KEY

public static final Query.ResultType<Key> KEY
Field Value
TypeDescription
ResultType<Key>

PROJECTION_ENTITY

public static final Query.ResultType<ProjectionEntity> PROJECTION_ENTITY
Field Value
TypeDescription
ResultType<ProjectionEntity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getQueryType()

public EntityResult.ResultType getQueryType()
Returns
TypeDescription
EntityResult.ResultType

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

resultClass()

public Class<V> resultClass()
Returns
TypeDescription
Class<V>

toString()

public String toString()
Returns
TypeDescription
String
Overrides