|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TableDescriptor._Fields>
org.apache.blur.thrift.generated.TableDescriptor._Fields
public static enum TableDescriptor._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
Enum Constant Summary | |
---|---|
BLOCK_CACHING
Should block cache be enable or disabled for this table. |
|
BLOCK_CACHING_FILE_TYPES
The files extensions that you would like to allow block cache to cache. |
|
CLUSTER
The cluster where this table should be created. |
|
DEFAULT_MISSING_FIELD_LESS_INDEXING
If strict is not enabled, defines whether or not field less indexing is enabled on the newly created fields. |
|
DEFAULT_MISSING_FIELD_PROPS
If strict is not enabled, defines the properties to be used in the new field creation. |
|
DEFAULT_MISSING_FIELD_TYPE
If strict is not enabled, the default field type. |
|
ENABLED
Is the table enabled or not, enabled by default. |
|
NAME
The table name. |
|
PRE_CACHE_COLS
This is a list of fields to prefetch into the blockcache. |
|
READ_ONLY
If a table is set to be readonly, that means that mutates through Thrift are NOT allowed. |
|
SHARD_COUNT
The number of shards within the given table. |
|
SIMILARITY_CLASS
Sets the similarity class in Lucene. |
|
STRICT_TYPES
Whether strict types are enabled or not (default). |
|
TABLE_PROPERTIES
The table properties that can modify the default behavior of the table. |
|
TABLE_URI
The location where the table should be stored this can be "file:///" for a local instance of Blur or "hdfs://" for a distributed installation of Blur. |
Method Summary | |
---|---|
static TableDescriptor._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found. |
static TableDescriptor._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found. |
static TableDescriptor._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 TableDescriptor._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TableDescriptor._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 TableDescriptor._Fields ENABLED
public static final TableDescriptor._Fields SHARD_COUNT
public static final TableDescriptor._Fields TABLE_URI
public static final TableDescriptor._Fields CLUSTER
public static final TableDescriptor._Fields NAME
public static final TableDescriptor._Fields SIMILARITY_CLASS
public static final TableDescriptor._Fields BLOCK_CACHING
public static final TableDescriptor._Fields BLOCK_CACHING_FILE_TYPES
public static final TableDescriptor._Fields READ_ONLY
public static final TableDescriptor._Fields PRE_CACHE_COLS
public static final TableDescriptor._Fields TABLE_PROPERTIES
public static final TableDescriptor._Fields STRICT_TYPES
public static final TableDescriptor._Fields DEFAULT_MISSING_FIELD_TYPE
public static final TableDescriptor._Fields DEFAULT_MISSING_FIELD_LESS_INDEXING
public static final TableDescriptor._Fields DEFAULT_MISSING_FIELD_PROPS
Method Detail |
---|
public static TableDescriptor._Fields[] values()
for (TableDescriptor._Fields c : TableDescriptor._Fields.values()) System.out.println(c);
public static TableDescriptor._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 TableDescriptor._Fields findByThriftId(int fieldId)
public static TableDescriptor._Fields findByThriftIdOrThrow(int fieldId)
public static TableDescriptor._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 |