public class PipelineHints
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FIELD_MULTI_VALUED |
static java.lang.String |
MISMATCHED_TYPE |
static java.lang.String |
NAME_FINALIZED |
static java.lang.String |
NAME_NOT_FINALIZED |
static java.lang.String |
NOT_INDEXED |
static java.lang.String |
NOT_STORED |
static java.lang.String |
TEXT_EN |
static java.lang.String |
TYPE_BINARY |
static java.lang.String |
TYPE_BOOLEAN |
static java.lang.String |
TYPE_DATE |
static java.lang.String |
TYPE_DOUBLE |
static java.lang.String |
TYPE_FLOAT |
static java.lang.String |
TYPE_INTEGER |
static java.lang.String |
TYPE_LOCATION |
static java.lang.String |
TYPE_LONG |
static java.lang.String |
TYPE_STRING |
static java.lang.String |
TYPE_TRIE |
Constructor and Description |
---|
PipelineHints() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<java.lang.String> |
getHints(java.lang.Object value)
Create initial hints for a value.
|
static java.lang.String |
getTypeHint(java.lang.Class<?> c)
Get a type hint from a value's class.
|
static java.lang.String |
getTypeHint(java.lang.Object value)
Get a type hint from a single value.
|
public static final java.lang.String FIELD_MULTI_VALUED
public static final java.lang.String NAME_FINALIZED
public static final java.lang.String NAME_NOT_FINALIZED
public static final java.lang.String TYPE_DATE
public static final java.lang.String TYPE_INTEGER
public static final java.lang.String TYPE_LONG
public static final java.lang.String TYPE_FLOAT
public static final java.lang.String TYPE_DOUBLE
public static final java.lang.String TYPE_TRIE
public static final java.lang.String TYPE_STRING
public static final java.lang.String TYPE_BOOLEAN
public static final java.lang.String TYPE_LOCATION
public static final java.lang.String TYPE_BINARY
public static final java.lang.String TEXT_EN
public static final java.lang.String MISMATCHED_TYPE
public static final java.lang.String NOT_INDEXED
public static final java.lang.String NOT_STORED
public static java.util.Set<java.lang.String> getHints(java.lang.Object value)
value
- value to examine. May be null, concrete class, array or Collectionpublic static java.lang.String getTypeHint(java.lang.Object value)
value
- single value (not an array or Collection)public static java.lang.String getTypeHint(java.lang.Class<?> c)
c
- value's class (not an array or Collection)