public class ArraySubscriptOperator extends SqlOperator
| Modifier and Type | Field and Description |
|---|---|
static ArraySubscriptOperator |
ARRAY_SUBSCRIPT |
| Modifier | Constructor and Description |
|---|---|
protected |
ArraySubscriptOperator() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
booleanSubscript(Type elementType,
Block array,
long index) |
static void |
checkArrayIndex(long index) |
static void |
checkIndex(Block array,
long index) |
static Double |
doubleSubscript(Type elementType,
Block array,
long index) |
static Long |
longSubscript(Type elementType,
Block array,
long index) |
static Object |
objectSubscript(Type elementType,
Block array,
long index) |
static io.airlift.slice.Slice |
sliceSubscript(Type elementType,
Block array,
long index) |
ScalarFunctionImplementation |
specialize(BoundVariables boundVariables,
int arity,
TypeManager typeManager,
FunctionRegistry functionRegistry) |
getDescription, isDeterministic, isHiddenbuilder, getSignaturepublic static final ArraySubscriptOperator ARRAY_SUBSCRIPT
public ScalarFunctionImplementation specialize(BoundVariables boundVariables, int arity, TypeManager typeManager, FunctionRegistry functionRegistry)
specialize in class SqlScalarFunctionpublic static io.airlift.slice.Slice sliceSubscript(Type elementType, Block array, long index)
public static void checkArrayIndex(long index)
public static void checkIndex(Block array, long index)
Copyright © 2012–2019. All rights reserved.