|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Selector._Fields>
org.apache.blur.thrift.generated.Selector._Fields
public static enum Selector._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
Enum Constant Summary | |
---|---|
COLUMN_FAMILIES_TO_FETCH
The column families to fetch. |
|
COLUMNS_TO_FETCH
The columns in the families to fetch. |
|
HIGHLIGHT_OPTIONS
The HighlightOptions object controls how the data is highlighted. |
|
LOCATION_ID
WARNING: This is an internal only attribute and is not intended for use by clients. |
|
MAX_RECORDS_TO_FETCH
Only valid for Row fetches, the number of records to fetch. |
|
ORDER_OF_FAMILIES_TO_FETCH
Can be null, if provided the provided family order will be the order in which the families are returned. |
|
RECORD_ID
The record id of the Record to be fetched, not to be used with location id. |
|
RECORD_ONLY
Fetch the Record only, not the entire Row. |
|
ROW_ID
The row id of the Row to be fetched, not to be used with location id. |
|
START_RECORD
Only valid for Row fetches, the record in the row to start fetching. |
Method Summary | |
---|---|
static Selector._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found. |
static Selector._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found. |
static Selector._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception if it is not found. |
String |
getFieldName()
Get the field's name, exactly as in the IDL. |
short |
getThriftFieldId()
Get the Thrift field id for the named field. |
static Selector._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Selector._Fields[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Selector._Fields RECORD_ONLY
public static final Selector._Fields LOCATION_ID
public static final Selector._Fields ROW_ID
public static final Selector._Fields RECORD_ID
public static final Selector._Fields COLUMN_FAMILIES_TO_FETCH
public static final Selector._Fields COLUMNS_TO_FETCH
public static final Selector._Fields START_RECORD
public static final Selector._Fields MAX_RECORDS_TO_FETCH
public static final Selector._Fields HIGHLIGHT_OPTIONS
public static final Selector._Fields ORDER_OF_FAMILIES_TO_FETCH
Method Detail |
---|
public static Selector._Fields[] values()
for (Selector._Fields c : Selector._Fields.values()) System.out.println(c);
public static Selector._Fields valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Selector._Fields findByThriftId(int fieldId)
public static Selector._Fields findByThriftIdOrThrow(int fieldId)
public static Selector._Fields findByName(String name)
public short getThriftFieldId()
TFieldIdEnum
getThriftFieldId
in interface TFieldIdEnum
public String getFieldName()
TFieldIdEnum
getFieldName
in interface TFieldIdEnum
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |