Constructor and Description |
---|
RowColumns(byte[] row)
Defines a row with all columns included.
|
RowColumns(byte[] row,
byte[]... columns)
Defines a row, with the specified set of columns.
|
RowColumns(String row)
Defines a row with all columns included.
|
RowColumns(String row,
String... columns)
Defines a row, including all columns, unless additional columns are specified.
|
Modifier and Type | Method and Description |
---|---|
T |
add(byte[][] columns)
Specifies column(s) to be included.
|
T |
add(byte[] firstColumn,
byte[]... moreColumns)
Specifies column(s) to be included.
|
T |
add(String[] columns)
Specifies column(s) to be included.
|
T |
add(String firstColumn,
String... moreColumns)
Specifies column(s) to be included.
|
List<byte[]> |
getColumns() |
byte[] |
getRow() |
public RowColumns(byte[] row)
add
method is called, only
columns specified through those add
method calls are included.row
- the row to define.public RowColumns(byte[] row, byte[]... columns)
row
- the row to definecolumns
- the set of columns of the row to includedpublic RowColumns(String row)
add
method is called, only
columns specified through those add
method calls are included.row
- the row to define. Note: It will be converted to byte[]
with UTF-8
encoding.public RowColumns(String row, String... columns)
byte[]
with UTF-8 encoding.row
- the row to definecolumns
- the set of columns of the row to includedpublic T add(byte[] firstColumn, byte[]... moreColumns)
firstColumn
- the first column being includedmoreColumns
- a collection of additional columns being includedRowColumns
object being definedpublic T add(byte[][] columns)
columns
- a collection of columns being includedRowColumns
object being definedpublic T add(String firstColumn, String... moreColumns)
byte[]
with UTF-8 encoding.firstColumn
- the first column being includedmoreColumns
- a collection of additional columns being includedRowColumns
object being definedpublic T add(String[] columns)
columns
- a collection of columns being includedRowColumns
object being definedpublic byte[] getRow()
Copyright © 2023 Cask Data, Inc. Licensed under the Apache License, Version 2.0.