/** * Return an inverted timestamp accurate to nanoseconds. * Never returns the same one twice given an accurate clock. * * @return */ public long getInvertedTimestamp() { return getInvertedTimestamp(getTimestamp()); }
@Override public T mutate(T value) { T mutate = tMutator.mutate(value); if (mutate != null) { success[0] = true; } return mutate; } });
@Override public Row<T, K> mutate(K row, Mutator<T> tMutator, Creator<T> tCreator) throws AvroBaseException { return super.mutate(row, tMutator, tCreator); //To change body of overridden methods use File | Settings | File Templates. } }
@Override public void put(K row, T value) throws AvroBaseException { super.put(row, value); //To change body of overridden methods use File | Settings | File Templates. }
@Override public void delete(K row) throws AvroBaseException { super.delete(row); //To change body of overridden methods use File | Settings | File Templates. }
/** * Read the avro serialized data using the specified schema and format * in the hbase row */ protected T readValue(byte[] data, Schema schema, AvroFormat format) throws AvroBaseException { return readValue(data, schema, format, 0, data.length); }
@Override public Row<T, K> mutate(K row, Mutator<T> tMutator) throws AvroBaseException { return mutate(row, tMutator, null); }
@Override public T mutate(T value) { T mutate = tMutator.mutate(value); if (mutate != null) { success[0] = true; } return mutate; } }, tCreator);