public static PartialRow decodePrimaryKey(Schema schema, byte[] key) { return KeyEncoder.decodePrimaryKey(schema, key); }
public static PartialRow decodePrimaryKey(Schema schema, byte[] key) { return KeyEncoder.decodePrimaryKey(schema, key); }
public static PartialRow decodePrimaryKey(Schema schema, byte[] key) { return KeyEncoder.decodePrimaryKey(schema, key); }
KeyEncoder.decodePrimaryKey(table.getSchema(), token.getLowerBoundPrimaryKey().toByteArray()) .stringifyRowKey()); KeyEncoder.decodePrimaryKey(table.getSchema(), token.getUpperBoundPrimaryKey().toByteArray()) .stringifyRowKey());
}); assertEquals(rowA.stringifyRowKey(), KeyEncoder.decodePrimaryKey(schema, rowAEncoded).stringifyRowKey()); }); assertEquals(rowB.stringifyRowKey(), KeyEncoder.decodePrimaryKey(schema, rowBEncoded).stringifyRowKey()); }); assertEquals(rowC.stringifyRowKey(), KeyEncoder.decodePrimaryKey(schema, rowCEncoded).stringifyRowKey()); }); assertEquals(rowD.stringifyRowKey(), KeyEncoder.decodePrimaryKey(schema, rowDEncoded).stringifyRowKey());