| Package | Description |
|---|---|
| org.apache.hive.hplsql | |
| org.apache.hive.hplsql.functions | |
| org.apache.hive.hplsql.objects |
| Modifier and Type | Field and Description |
|---|---|
static Var |
Var.Empty |
static Var |
Var.Null |
| Modifier and Type | Method and Description |
|---|---|
Var |
Var.cast(String val)
Cast a new string value to the variable
|
Var |
Var.cast(Var val)
Cast a new value to the variable
|
Var |
Expression.changeDateByInt(Date d,
Long i,
boolean add)
Add or subtract the specified number of days from DATE
|
Var |
Exec.consumeReturnCursor(String routine)
Get the return cursor defined in the specified procedure
|
Var |
Var.decrement(long i)
Decrement an integer value
|
Var |
Exec.evalPop(org.antlr.v4.runtime.ParserRuleContext ctx)
Evaluate the expression and pop value from the stack
|
Var |
Exec.findCursor(String name)
Find a cursor variable by name
|
Var |
Exec.findVariable(String name)
Find an existing variable by name
|
Var |
Package.findVariable(String name)
Find the variable by name
|
Var |
Exec.findVariable(Var name) |
Var |
Row.getValue(int i)
Get value by index
|
Var |
Var.increment(long i)
Increment an integer value
|
Var |
Exec.parseAndEval(Arguments arguments) |
Var |
Var.setRowValues(QueryResult queryResult) |
Var |
Var.setValue(Boolean val) |
Var |
Var.setValue(Long val) |
Var |
Var.setValue(QueryResult queryResult,
int idx) |
Var |
Exec.setVariable(String name) |
Var |
Exec.setVariable(String name,
int value) |
Var |
Exec.setVariable(String name,
String value) |
Var |
Exec.setVariable(String name,
Var value)
Set a variable using a value from the parameter or the stack
|
Var |
Exec.setVariableToNull(String name)
Set variable to NULL
|
Var |
Exec.stackPeek()
Select a value from the stack, but not remove
|
Var |
Exec.stackPop()
Pop a value from the stack
|
| Modifier and Type | Method and Description |
|---|---|
Stack<Var> |
Exec.getStack() |
| Modifier and Type | Method and Description |
|---|---|
void |
Row.addColumn(String name,
String type,
Var value) |
void |
Exec.addReturnCursor(Var var)
Add a return cursor visible to procedure callers and clients
|
void |
Exec.addVariable(Var var)
Add a local variable to the current scope
|
void |
Package.addVariable(Var var)
Add a local variable
|
Var |
Var.cast(Var val)
Cast a new value to the variable
|
int |
Var.compareTo(Var v)
Compare values
|
Var |
Exec.findVariable(Var name) |
BigDecimal |
Var.percentDiff(Var var)
Calculate difference between values in percent
|
void |
Column.setValue(Var value)
Set the column value
|
Var |
Exec.setVariable(String name,
Var value)
Set a variable using a value from the parameter or the stack
|
void |
Exec.stackPush(Var var)
Push a value to the stack
|
void |
Exec.trace(org.antlr.v4.runtime.ParserRuleContext ctx,
Var var,
Metadata meta,
int idx)
Trace values retrived from the database
|
| Constructor and Description |
|---|
Column(String name,
String type,
Var value) |
Var(String name,
String type,
Integer len,
Integer scale,
Var def) |
Var(String name,
String type,
String len,
String scale,
Var def) |
Var(Var var) |
| Modifier and Type | Method and Description |
|---|---|
static Var |
FunctionDatetime.currentDate() |
static Var |
FunctionDatetime.currentTimestamp(int precision) |
static Var |
FunctionMisc.currentUser() |
protected Var |
BuiltinFunctions.evalPop(org.antlr.v4.runtime.ParserRuleContext ctx) |
protected Var |
BuiltinFunctions.evalPop(org.antlr.v4.runtime.ParserRuleContext ctx,
int value) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Var> |
InMemoryFunctionRegistry.getActualCallParameters(HplsqlParser.Expr_func_paramsContext actual)
Evaluate actual call parameters
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BuiltinFunctions.evalVar(Var var) |
| Modifier and Type | Method and Description |
|---|---|
static void |
InMemoryFunctionRegistry.setCallParameters(String procName,
HplsqlParser.Expr_func_paramsContext actual,
ArrayList<Var> actualValues,
HplsqlParser.Create_routine_paramsContext formal,
HashMap<String,Var> out,
Exec exec)
Set parameters for user-defined function call
|
static void |
InMemoryFunctionRegistry.setCallParameters(String procName,
HplsqlParser.Expr_func_paramsContext actual,
ArrayList<Var> actualValues,
HplsqlParser.Create_routine_paramsContext formal,
HashMap<String,Var> out,
Exec exec)
Set parameters for user-defined function call
|
| Modifier and Type | Method and Description |
|---|---|
Var |
Method.call(T self,
List<Var> args) |
Var |
DbmOutput.putLine(List<Var> params) |
| Modifier and Type | Method and Description |
|---|---|
Var |
Method.call(T self,
List<Var> args) |
Var |
DbmOutput.putLine(List<Var> params) |
| Constructor and Description |
|---|
MethodParams(String methodName,
List<Var> actual,
MethodParams.Arity arity) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.