QueryTimeGrainType Class

public final class QueryTimeGrainType
extends ExpandableStringEnum<QueryTimeGrainType>

Interval type (length).

Field Summary

Modifier and Type Field and Description
static final QueryTimeGrainType P1D

P1D.

static final QueryTimeGrainType PT1H

PT1H.

Constructor Summary

Constructor Description
QueryTimeGrainType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of QueryTimeGrainType value.

Method Summary

Modifier and Type Method and Description
static QueryTimeGrainType fromString(String name)

Creates or finds a QueryTimeGrainType from its string representation.

static Collection<QueryTimeGrainType> values()

Gets known QueryTimeGrainType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

P1D

public static final QueryTimeGrainType P1D

P1D.

PT1H

public static final QueryTimeGrainType PT1H

PT1H.

Constructor Details

QueryTimeGrainType

@Deprecated
public QueryTimeGrainType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of QueryTimeGrainType value.

Method Details

fromString

public static QueryTimeGrainType fromString(String name)

Creates or finds a QueryTimeGrainType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding QueryTimeGrainType.

values

public static Collection<QueryTimeGrainType> values()

Gets known QueryTimeGrainType values.

Returns:

known QueryTimeGrainType values.

Applies to