public static enum HintNode.Hint extends Enum<HintNode.Hint>
Enum Constant and Description |
---|
INDEX
Hint of the form INDEX(
|
NO_CACHE
Avoid caching any HBase blocks loaded by this query.
|
NO_CHILD_PARENT_JOIN_OPTIMIZATION
Prevents the usage of child-parent-join optimization.
|
NO_INDEX
Prevents the usage of indexes, forcing usage
of the data table for a query.
|
NO_SEEK_TO_COLUMN
Avoid seeks to select specified columns.
|
NO_STAR_JOIN
Avoid using star-join optimization.
|
RANGE_SCAN
Forces a range scan to be used to process the query.
|
SEEK_TO_COLUMN
Avoid using the no seek optimization.
|
SERIAL
Enforces a serial scan.
|
SKIP_SCAN
Forces a skip scan to be used to process the query.
|
SMALL
Saves an RPC call on the scan.
|
USE_DATA_OVER_INDEX_TABLE
All things being equal, use the data table instead of
the index table when optimizing.
|
USE_INDEX_OVER_DATA_TABLE
All things being equal, use the index table instead of
the data table when optimizing.
|
USE_SORT_MERGE_JOIN
Use sort-merge join algorithm instead of broadcast join (hash join) algorithm.
|
Modifier and Type | Method and Description |
---|---|
static HintNode.Hint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HintNode.Hint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HintNode.Hint RANGE_SCAN
public static final HintNode.Hint SKIP_SCAN
public static final HintNode.Hint NO_CHILD_PARENT_JOIN_OPTIMIZATION
public static final HintNode.Hint NO_INDEX
public static final HintNode.Hint INDEX
public static final HintNode.Hint USE_DATA_OVER_INDEX_TABLE
public static final HintNode.Hint USE_INDEX_OVER_DATA_TABLE
public static final HintNode.Hint NO_CACHE
public static final HintNode.Hint USE_SORT_MERGE_JOIN
public static final HintNode.Hint NO_STAR_JOIN
public static final HintNode.Hint SEEK_TO_COLUMN
public static final HintNode.Hint NO_SEEK_TO_COLUMN
public static final HintNode.Hint SMALL
public static final HintNode.Hint SERIAL
public static HintNode.Hint[] values()
for (HintNode.Hint c : HintNode.Hint.values()) System.out.println(c);
public static HintNode.Hint valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 Apache Software Foundation. All Rights Reserved.