object GpuCast extends Serializable
- Alphabetic
- By Inheritance
- GpuCast
- Serializable
- Serializable
- 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
- val INVALID_INPUT_MESSAGE: String
- val INVALID_NUMBER_MSG: String
- val OVERFLOW_MESSAGE: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
castLongToTimestamp(longInput: ColumnView, toType: DataType): ColumnVector
return
longInput* MICROS_PER_SECOND, the input values are seconds.return
longInput* MICROS_PER_SECOND, the input values are seconds. return Long.MaxValue iflong value* MICROS_PER_SECOND > Long.MaxValue return Long.MinValue iflong value* MICROS_PER_SECOND < Long.MinValue -
def
castStringToDate(sanitizedInput: ColumnVector): ColumnVector
Trims and parses a given UTF8 date string to a corresponding Int value.
Trims and parses a given UTF8 date string to a corresponding Int value. The return type is Option in order to distinguish between 0 and null. The following formats are allowed:
yyyyyyyy-[m]myyyy-[m]m-[d]dyyyy-[m]m-[d]dyyyy-[m]m-[d]d *yyyy-[m]m-[d]dT* - def castStringToDateAnsi(input: ColumnVector, ansiMode: Boolean): ColumnVector
- def castStringToTimestamp(input: ColumnVector, ansiMode: Boolean): ColumnVector
-
def
castStructToJsonString(input: ColumnView, inputSchema: Array[StructField], options: CastOptions): ColumnVector
This is a specialized version of castStructToString that uses JSON format.
This is a specialized version of castStructToString that uses JSON format. The main differences are:
- Struct field names are included - Null fields are optionally omitted
- def castToString(input: ColumnView, fromDataType: DataType, options: CastOptions): ColumnVector
- def checkNFixDecimalBounds(input: ColumnView, to: DecimalType, ansiMode: Boolean): ColumnVector
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
convertDateOr(input: ColumnVector, regex: String, cudfFormat: String, orElse: ColumnVector): ColumnVector
This method does not close the
inputColumnVector. -
def
convertDateOrNull(input: ColumnView, regex: String, cudfFormat: String, failOnInvalid: Boolean = false): ColumnVector
This method does not close the
inputColumnVector. -
def
convertTimestampOrNull(input: ColumnVector, regex: String, cudfFormat: String): ColumnVector
This method does not close the
inputColumnVector. - def doCast(input: ColumnView, fromDataType: DataType, toDataType: DataType, options: CastOptions = CastOptions.DEFAULT_CAST_OPTIONS): ColumnVector
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fixDecimalBounds(input: ColumnView, outOfBounds: ColumnView, ansiMode: Boolean): ColumnVector
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()