object GpuMapUtils
Provide a set of APIs to manipulate map columns in common ways. CUDF does not officially support maps so we store it as a list of key/value structs.
- Alphabetic
- By Inheritance
- GpuMapUtils
- 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 KEY_INDEX: Int
- val VALUE_INDEX: Int
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assertNoNullKeys(mapView: ColumnView): Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def duplicateMapKeyFoundError: Throwable
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getKeysAsListView(input: ColumnView): ColumnView
Get the keys from a map column as a list.
Get the keys from a map column as a list.
- input
the input map column.
- returns
a list of the keys as a column view.
- def getMapValueOrThrow(map: ColumnVector, indices: ColumnVector, dtype: DataType, origin: Origin): ColumnVector
-
def
getValuesAsListView(input: ColumnView): ColumnView
Get the values from a map column as a list.
Get the values from a map column as a list.
- input
the input map column.
- returns
a list of the values as a column view.
-
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
replaceExplodedKeyAsView(mapCol: ColumnView, newKey: ColumnView): ColumnView
Replace the keys in a map.
Replace the keys in a map. The values are the underlying exploded keys (not in a list)
- mapCol
the original map column
- newKey
the new keys column
- returns
and updated map column view
-
def
replaceExplodedValueAsView(mapCol: ColumnView, newValue: ColumnView): ColumnView
Replace the values in a map.
Replace the values in a map. The values are the underlying exploded values (not in a list)
- mapCol
the original map column
- newValue
the new values column
- returns
and updated map column view
-
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()