public enum SegmentType extends Enum<SegmentType>
Enum Constant and Description |
---|
ALL |
BATCH |
BOUND_ACTION |
BOUND_OPERATION |
COUNT |
CROSS_JOIN |
DERIVED_ENTITY_TYPE |
ENTITY |
ENTITYSET |
KEY |
KEY_AS_SEGMENT |
LINKS |
METADATA |
NAVIGATION |
PROPERTY |
REF |
ROOT_QUERY_OPTION
For query options like $count that need to stay in their own segment, right after service root.
|
SERVICEROOT |
SINGLETON |
UNBOUND_ACTION |
UNBOUND_OPERATION |
VALUE |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static SegmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegmentType ENTITY
public static final SegmentType ENTITYSET
public static final SegmentType SINGLETON
public static final SegmentType KEY
public static final SegmentType KEY_AS_SEGMENT
public static final SegmentType PROPERTY
public static final SegmentType NAVIGATION
public static final SegmentType DERIVED_ENTITY_TYPE
public static final SegmentType VALUE
public static final SegmentType COUNT
public static final SegmentType BOUND_OPERATION
public static final SegmentType UNBOUND_OPERATION
public static final SegmentType BOUND_ACTION
public static final SegmentType UNBOUND_ACTION
public static final SegmentType METADATA
public static final SegmentType BATCH
public static final SegmentType LINKS
public static final SegmentType REF
public static final SegmentType CROSS_JOIN
public static final SegmentType ALL
public static final SegmentType ROOT_QUERY_OPTION
QueryOption.COUNT
public static final SegmentType SERVICEROOT
public static SegmentType[] values()
for (SegmentType c : SegmentType.values()) System.out.println(c);
public static SegmentType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.