public class TupleBuilderImpl extends Object implements TupleBuilder
Constructor and Description |
---|
TupleBuilderImpl(TupleFormat tupleFormat) |
Modifier and Type | Method and Description |
---|---|
Tuple |
emptyTuple() |
Tuple |
ignoreTuple() |
void |
postInsert(long tid,
String table,
Tuple tuple) |
void |
postRead(long tid,
Tuple tuple) |
Tuple |
toAPI(byte[] rawKiviTuple) |
Tuple |
toAPI(Object[] tuple) |
TupleKey |
toAPIKey(byte[] rawKiviTupleKey) |
int |
toKivi(String field) |
Object[] |
toKivi(Tuple apiTuple) |
Object[] |
toKivi(TupleKey apiTuple) |
byte[] |
toRawKivi(Tuple apiTuple) |
byte[] |
toRawKivi(TupleKey apiTuple) |
public TupleBuilderImpl(TupleFormat tupleFormat)
public Tuple emptyTuple()
emptyTuple
in interface TupleBuilder
public Tuple ignoreTuple()
ignoreTuple
in interface TupleBuilder
public Tuple toAPI(Object[] tuple)
toAPI
in interface TupleBuilder
public Object[] toKivi(Tuple apiTuple)
toKivi
in interface TupleBuilder
public Object[] toKivi(TupleKey apiTuple)
toKivi
in interface TupleBuilder
public byte[] toRawKivi(Tuple apiTuple)
toRawKivi
in interface TupleBuilder
public byte[] toRawKivi(TupleKey apiTuple)
toRawKivi
in interface TupleBuilder
public Tuple toAPI(byte[] rawKiviTuple)
toAPI
in interface TupleBuilder
public TupleKey toAPIKey(byte[] rawKiviTupleKey)
toAPIKey
in interface TupleBuilder
public int toKivi(String field)
toKivi
in interface TupleBuilder
public void postInsert(long tid, String table, Tuple tuple)
postInsert
in interface TupleBuilder
public void postRead(long tid, Tuple tuple)
postRead
in interface TupleBuilder
Copyright © 2020. All rights reserved.