public static enum ReadToken._Fields extends java.lang.Enum<ReadToken._Fields> implements org.apache.thrift.TFieldIdEnum
| Enum Constant and Description |
|---|
APP_NAME
Name of the application using the token
|
APPS
List of applications consumed
|
ATTRIBUTES
Token attributes
|
BILLED_ID
Id of the billed customer
|
DATAVIZ
The read token is used for data visualisation, default false
|
EXPIRY_TIMESTAMP
Timestamp of the token expiration
|
GROOVY
DEPRECATED.
|
HOOKS
Token hooks
|
ISSUANCE_TIMESTAMP
delivery timestamp of the token
|
LABELS
Token extra labels.
|
LOOKUP
true if a lookup is necessary, default false
|
MAX_FETCH_SIZE
DEPRECATED
Max fetch size in bytes of each read request, default 16Mb
|
OWNERS
List of owners
|
PRODUCERS
List of producers
|
TOKEN_TYPE
TokenType (Set to TokenType.READ)
|
| Modifier and Type | Method and Description |
|---|---|
static ReadToken._Fields |
findByName(java.lang.String name)
Find the _Fields constant that matches name, or null if its not found.
|
static ReadToken._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static ReadToken._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 ReadToken._Fields |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadToken._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadToken._Fields ISSUANCE_TIMESTAMP
public static final ReadToken._Fields EXPIRY_TIMESTAMP
public static final ReadToken._Fields TOKEN_TYPE
TokenTypepublic static final ReadToken._Fields LOOKUP
public static final ReadToken._Fields GROOVY
public static final ReadToken._Fields MAX_FETCH_SIZE
public static final ReadToken._Fields APP_NAME
public static final ReadToken._Fields APPS
public static final ReadToken._Fields OWNERS
public static final ReadToken._Fields PRODUCERS
public static final ReadToken._Fields BILLED_ID
public static final ReadToken._Fields HOOKS
public static final ReadToken._Fields ATTRIBUTES
public static final ReadToken._Fields LABELS
public static final ReadToken._Fields DATAVIZ
public static ReadToken._Fields[] values()
for (ReadToken._Fields c : ReadToken._Fields.values()) System.out.println(c);
public static ReadToken._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 ReadToken._Fields findByThriftId(int fieldId)
public static ReadToken._Fields findByThriftIdOrThrow(int fieldId)
public static ReadToken._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