object DumpUtils extends Logging
- Alphabetic
- By Inheritance
- DumpUtils
- Logging
- 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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
dumpBuffer(conf: Configuration, data: HostMemoryBuffer, offset: Long, len: Long, prefix: String, suffix: String): String
Debug utility to dump a host memory buffer to a file.
Debug utility to dump a host memory buffer to a file.
- conf
Hadoop configuration
- data
buffer containing data to dump to a file
- offset
starting offset in the buffer of the data
- len
size of the data in bytes
- prefix
prefix for a path to write the data
- suffix
suffix for a path to write the data
- returns
Hadoop path for where the data was written or null on error
-
def
dumpToParquet(columnarBatch: ColumnarBatch, outputStream: OutputStream): Unit
Dump columnar batch to output stream in parquet format.
Dump columnar batch to output stream in parquet format.
- columnarBatch
The columnar batch to be dumped, should be GPU columnar batch. It should be closed by caller.
- outputStream
Will be closed after writing.
-
def
dumpToParquetFile(table: Table, filePrefix: String): Option[String]
Debug utility to dump table to parquet file.
Debug utility to dump table to parquet file.
It's running on GPU. Parquet column names are generated from table column type info.
- table
the table to be dumped, should be GPU columnar batch
- filePrefix
parquet file prefix, e.g. /tmp/my-debug-prefix-
- returns
parquet file path if dump is successful, e.g. /tmp/my-debug-prefix-123.parquet
-
def
dumpToParquetFile(columnarBatch: ColumnarBatch, filePrefix: String): Option[String]
Debug utility to dump columnar batch to parquet file.
Debug utility to dump columnar batch to parquet file.
It's running on GPU. Parquet column names are generated from columnar batch type info.
- columnarBatch
the columnar batch to be dumped, should be GPU columnar batch
- filePrefix
parquet file prefix, e.g. /tmp/my-debug-prefix-
- returns
parquet file path if dump is successful, e.g. /tmp/my-debug-prefix-123.parquet
-
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
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()