Class Query.ResultType<V> (2.21.2)

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

Name Description
V

Static Fields

ENTITY

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

KEY

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

PROJECTION_ENTITY

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getQueryType()

public EntityResult.ResultType getQueryType()
Returns
Type Description
EntityResult.ResultType

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

resultClass()

public Class<V> resultClass()
Returns
Type Description
Class<V>

toString()

public String toString()
Returns
Type Description
String
Overrides