public static enum FetchRequest._Fields extends java.lang.Enum<FetchRequest._Fields> implements org.apache.thrift.TFieldIdEnum
| Enum Constant and Description |
|---|
ATTRIBUTES
Map of attributes.
|
COUNT
Number of data points to fetch.
|
METADATAS
List of Metadata describing the Geo Time Series to fetch
|
NOW
End timestamp (included)
|
PARALLEL_SCANNERS
Flag indicating whether or not to use parallel scanners if available.
|
POST_BOUNDARY
Size of the post boundary in number of data points.
|
PRE_BOUNDARY
Size of the pre boundary in number of data points.
|
SAMPLE
Sampling rate.
|
SKIP
Number of data points to skip before starting to return values.
|
STEP
Index offset between two data points, defaults to 1, i.e.
|
THENTS
Start timestamp (included).
|
TIMESTEP
Minimum time offset between data points, expressed in time units.
|
TOKEN
Read token to use for fetching data
|
TTL
Flag indicating we want to return the HBase cells TTL instead of the value
This only works if the HBase client is configured with:
hbase.client.rpc.codec = org.apache.hadoop.hbase.codec.KeyValueCodecWithTags
This can be achieved in Warp 10 using the following egress config:
egress.hbase.config = hbase.client.rpc.codec
egress.hbase.client.rpc.codec = org.apache.hadoop.hbase.codec.KeyValueCodecWithTags
Beware that changing the RPC Codec will change it for all calls to HBase, meaning that tags will
be transfered between the RegionServer and the Client for each cell, even if there is no interest
in the tags.
|
WRITE_TIMESTAMP
Flag indicating to return the HBase cell timestamp instead of the value.
|
| Modifier and Type | Method and Description |
|---|---|
static FetchRequest._Fields |
findByName(java.lang.String name)
Find the _Fields constant that matches name, or null if its not found.
|
static FetchRequest._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static FetchRequest._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
java.lang.String |
getFieldName() |
short |
getThriftFieldId() |
static FetchRequest._Fields |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FetchRequest._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FetchRequest._Fields TOKEN
public static final FetchRequest._Fields METADATAS
public static final FetchRequest._Fields NOW
public static final FetchRequest._Fields THENTS
public static final FetchRequest._Fields COUNT
public static final FetchRequest._Fields SKIP
public static final FetchRequest._Fields STEP
public static final FetchRequest._Fields TIMESTEP
public static final FetchRequest._Fields SAMPLE
public static final FetchRequest._Fields WRITE_TIMESTAMP
public static final FetchRequest._Fields PRE_BOUNDARY
public static final FetchRequest._Fields POST_BOUNDARY
public static final FetchRequest._Fields TTL
public static final FetchRequest._Fields PARALLEL_SCANNERS
public static final FetchRequest._Fields ATTRIBUTES
public static FetchRequest._Fields[] values()
for (FetchRequest._Fields c : FetchRequest._Fields.values()) System.out.println(c);
public static FetchRequest._Fields valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static FetchRequest._Fields findByThriftId(int fieldId)
public static FetchRequest._Fields findByThriftIdOrThrow(int fieldId)
public static FetchRequest._Fields findByName(java.lang.String name)
public short getThriftFieldId()
getThriftFieldId in interface org.apache.thrift.TFieldIdEnumpublic java.lang.String getFieldName()
getFieldName in interface org.apache.thrift.TFieldIdEnum