Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as CHAR by SnappyStore.
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as CHAR by SnappyStore.
the size parameter of the CHAR() column type
optional Metadata object to be merged into the result
the result Metadata object to use for StructField
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as CHAR by SnappyStore.
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as CHAR by SnappyStore.
the size parameter of the CHAR() column type
the result Metadata object to use for StructField
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as CHAR by SnappyStore.
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as CHAR by SnappyStore.
the result Metadata object to use for StructField
Get the result schema given an optional explicit schema and base table.
Get the result schema given an optional explicit schema and base table. In case both are specified, then check compatibility between the two.
Get either the normal TaskContext or the one created by withTempTaskContextIfAbsent.
Get the TaskContext when created by withTempTaskContextIfAbsent.
Parse the given time interval value as long milliseconds.
Parse the given time interval value as long milliseconds.
timeIntervalSpec for the allowed string specification
Register given driver class with Spark's loader.
Register driver for given JDBC URL and return the driver class name.
Utility function to return a metadata for a StructField of StringType, to ensure that the field is rendered as CLOB by SnappyStore.
Utility function to return a metadata for a StructField of StringType, to ensure that the field is rendered as CLOB by SnappyStore.
optional Metadata object to be merged into the result
the result Metadata object to use for StructField
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as VARCHAR by SnappyStore.
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as VARCHAR by SnappyStore.
the size parameter of the VARCHAR() column type
optional Metadata object to be merged into the result
the result Metadata object to use for StructField
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as VARCHAR by SnappyStore.
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as VARCHAR by SnappyStore.
the size parameter of the VARCHAR() column type
the result Metadata object to use for StructField
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as VARCHAR by SnappyStore.
Utility function to return a metadata for a StructField of StringType, to ensure that the field is stored (and rendered) as VARCHAR by SnappyStore.
the result Metadata object to use for StructField
Run a plan with an empty TaskContext which can be obtained using getTaskContext if it is in use.
Run a plan with an empty TaskContext which can be obtained using getTaskContext if it is in use. Currently only SnapshotConnectionListener makes use of it to commit/rollback/close connection at the end but can be used by others too. Note that this cannot be directly put inside TaskContext since it has no TaskMemoryManager among other missing things (a valid taskId, partitionId, metrics) so callers should use this only if they do not depend on any of those.