class TempVariableManager extends VariableManager with DataTypeErrorsBase
A thread-safe manager for temporary SQL variables (that live in the schema SYSTEM.SESSION),
providing atomic operations to manage them, e.g. create, get, remove, etc.
Note that, the variable name is always case-sensitive here, callers are responsible to format the variable name w.r.t. case-sensitive config.
- Alphabetic
- By Inheritance
- TempVariableManager
- DataTypeErrorsBase
- VariableManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TempVariableManager()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clear(): Unit
Delete all variables.
Delete all variables.
- Definition Classes
- TempVariableManager → VariableManager
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def create(nameParts: Seq[String], varDef: VariableDefinition, overrideIfExists: Boolean): Unit
Create a variable.
Create a variable.
- nameParts
NameParts of the variable.
- varDef
The VariableDefinition of the variable.
- overrideIfExists
If true, the new variable will replace an existing one with the same identifier, if it exists.
- Definition Classes
- TempVariableManager → VariableManager
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def get(nameParts: Seq[String]): Option[VariableDefinition]
Get an existing variable.
Get an existing variable.
- nameParts
Name parts of the variable.
- Definition Classes
- TempVariableManager → VariableManager
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getQueryContext(context: QueryContext): Array[QueryContext]
- Definition Classes
- DataTypeErrorsBase
- def getSummary(sqlContext: QueryContext): String
- Definition Classes
- DataTypeErrorsBase
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def isEmpty: Boolean
- returns
true if at least one variable exists, false otherwise.
- Definition Classes
- TempVariableManager → VariableManager
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def qualify(name: String): ResolvedIdentifier
Create an identifier for the provided variable name.
Create an identifier for the provided variable name. Could be context dependent.
- name
Name for which an identifier is created.
- Definition Classes
- TempVariableManager → VariableManager
- def quoteByDefault(elem: String): String
- Attributes
- protected
- Definition Classes
- DataTypeErrorsBase
- def remove(nameParts: Seq[String]): Boolean
Delete an existing variable.
Delete an existing variable.
- nameParts
Name parts of the variable.
- Definition Classes
- TempVariableManager → VariableManager
- def set(nameParts: Seq[String], varDef: VariableDefinition): Unit
Set an existing variable to a new value.
Set an existing variable to a new value.
- nameParts
Name parts of the variable.
- varDef
The new VariableDefinition of the variable.
- Definition Classes
- TempVariableManager → VariableManager
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toDSOption(option: String): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLConf(conf: String): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLId(parts: Seq[String]): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLId(parts: String): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLStmt(text: String): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLType(t: AbstractDataType): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLType(text: String): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLValue(value: Double): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLValue(value: Float): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLValue(value: Long): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLValue(value: Int): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLValue(value: Short): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLValue(value: UTF8String): String
- Definition Classes
- DataTypeErrorsBase
- def toSQLValue(value: String): String
- Definition Classes
- DataTypeErrorsBase
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)