| Package | Description |
|---|---|
| com.klarna.hiverunner | |
| com.klarna.hiverunner.data |
| Modifier and Type | Method and Description |
|---|---|
InsertIntoTable |
HiveShell.insertInto(String databaseName,
String tableName)
Returns an
InsertIntoTable that allows programmatically inserting data into a table in a fluent manner. |
| Modifier and Type | Method and Description |
|---|---|
InsertIntoTable |
InsertIntoTable.addRow(Object... values)
Flushes the current row and creates a new row with the values specified.
|
InsertIntoTable |
InsertIntoTable.addRowsFrom(File file,
FileParser fileParser)
Adds all rows from the file specified, using the provided parser.
|
InsertIntoTable |
InsertIntoTable.addRowsFromDelimited(File file,
String delimiter,
Object nullValue)
Adds all rows from the TSV file specified, using the provided delimiter and null value.
|
InsertIntoTable |
InsertIntoTable.addRowsFromTsv(File file)
Adds all rows from the TSV file specified.
|
InsertIntoTable |
InsertIntoTable.copyRow()
Flushes the current row and creates a new row with the same values.
|
static InsertIntoTable |
InsertIntoTable.newInstance(String databaseName,
String tableName,
org.apache.hadoop.hive.conf.HiveConf conf)
Factory method for creating an
InsertIntoTable. |
InsertIntoTable |
InsertIntoTable.newRow()
Flushes the current row and creates a new row with
null values for all columns. |
InsertIntoTable |
InsertIntoTable.set(String name,
Object value)
Set the given column name to the given value.
|
InsertIntoTable |
InsertIntoTable.setRow(Object... values)
Sets the current row with the values specified.
|
InsertIntoTable |
InsertIntoTable.withAllColumns()
Resets the column name mask to all the columns in the table.
|
InsertIntoTable |
InsertIntoTable.withColumns(String... names)
Defines a subset of columns (a column name mask) so that only pertinent columns can be set.
|
Copyright © 2013–2020. All rights reserved.