PartialRow row = operation.getRow(); populatePartialRow(row, entityMetadata, entity); try
@Override public String toString() { // Intentionally not redacting the row key to make this more useful. return "Row error for primary key=" + Bytes.pretty(operation.getRow().encodePrimaryKey()) + ", tablet=" + operation.getTablet() + ", server=" + tsUUID + ", status=" + status.toString(); }
currentOperation.setPropagatedTimestamp(propagatedTimeStamp); PartialRow partialRow = currentOperation.getRow(); Object payload = kuduExecutionContext.getPayload(); Set<String> doNotWriteColumns = kuduExecutionContext.getDoNotWriteColumns();
private boolean hasRowErrorAndReport(OperationResponse resp) { if (resp != null && resp.hasRowError()) { reportError("The following RPC " + resp.getOperation().getRow() + " returned this error: " + resp.getRowError(), null); return true; } if (resp == null) { return false; } sharedWriteTimestamp = resp.getWriteTimestampRaw(); return false; } }
PartialRow row = insert.getRow(); row.addLong(COLUMN_KEY_ONE, Bytes.getLong(first[0])); row.addLong(COLUMN_KEY_TWO, Bytes.getLong(first[0], 8));
public static Operation toOperation(KuduTable table, KuduConnector.WriteMode writeMode, KuduRow row) { final Operation operation = toOperation(table, writeMode); final PartialRow partialRow = operation.getRow();
PartialRow kuduRow = operation.getRow();
operation.getRow().freeze();
private void persist(Context output, byte[][] data, boolean update) throws KuduException { for (int i = 0; i < data.length; i++) { Operation put = update ? table.newUpdate() : table.newInsert(); PartialRow row = put.getRow();