public class Increment extends Object
NumberFormatException
).
Constructor and Description |
---|
Increment(byte[] row)
Changes the values of columns in a row.
|
Increment(byte[] row,
byte[] column,
long value)
Changes the value of at least one column in a row.
|
Increment(String row)
Changes the values of all of the columns in a row.
|
Increment(String row,
String column,
long value)
Changes the value of at least one column in a row.
|
Modifier and Type | Method and Description |
---|---|
Increment |
add(byte[] column,
long value)
Adds a column and sets the column's value.
|
Increment |
add(String column,
long value)
Adds a column and sets the column's value.
|
byte[] |
getRow() |
Map<byte[],Long> |
getValues() |
public Increment(byte[] row)
row
- Row to change.public Increment(byte[] row, byte[] column, long value)
row
- Row to change.column
- Column to change.value
- Value to increment by.public Increment(String row)
row
- Row in which all column values are incremented.public byte[] getRow()
public Map<byte[],Long> getValues()
public Increment add(byte[] column, long value)
column
- Column to add.value
- Column value.Increment
.Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.