object ExprUtils extends QueryErrorsBase
- Alphabetic
- By Inheritance
- ExprUtils
- QueryErrorsBase
- DataTypeErrorsBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
checkJsonSchema(schema: DataType): TypeCheckResult
Check if the schema is valid for Json
Check if the schema is valid for Json
- schema
The schema to check.
- returns
TypeCheckSuccessif the schema is validDataTypeMismatchwith an error error if the schema is not valid
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def convertToMapData(exp: Expression): Map[String, String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def evalSchemaExpr(exp: Expression): StructType
- def evalTypeExpr(exp: Expression): DataType
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDecimalParser(locale: Locale): (String) ⇒ BigDecimal
-
def
getQueryContext(sqlContext: SQLQueryContext): Array[QueryContext]
- Definition Classes
- DataTypeErrorsBase
-
def
getSummary(sqlContext: SQLQueryContext): String
- Definition Classes
- DataTypeErrorsBase
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
quoteByDefault(elem: String): String
- Attributes
- protected
- Definition Classes
- DataTypeErrorsBase
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toDSOption(option: String): String
- Definition Classes
- QueryErrorsBase
-
def
toSQLConf(conf: String): String
- Definition Classes
- DataTypeErrorsBase
-
def
toSQLConfVal(conf: String): String
- Definition Classes
- QueryErrorsBase
-
def
toSQLExpr(e: Expression): String
- Definition Classes
- QueryErrorsBase
-
def
toSQLId(parts: Seq[String]): String
- Definition Classes
- DataTypeErrorsBase
-
def
toSQLId(parts: String): String
- Definition Classes
- DataTypeErrorsBase
-
def
toSQLSchema(schema: String): String
- Definition Classes
- QueryErrorsBase
-
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(v: Any, t: DataType): String
- Definition Classes
- QueryErrorsBase
-
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
-
def
verifyColumnNameOfCorruptRecord(schema: StructType, columnNameOfCorruptRecord: String): Unit
A convenient function for schema validation in datasources supporting
columnNameOfCorruptRecordas an option. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()