Package eu.antidotedb.client.transformer
Class TransformerWithDownstream
- java.lang.Object
-
- eu.antidotedb.client.transformer.TransformerWithDownstream
-
- All Implemented Interfaces:
AntidoteRequest.Handler<AntidoteResponse>,Transformer
- Direct Known Subclasses:
LogTransformer
public class TransformerWithDownstream extends java.lang.Object implements Transformer
-
-
Constructor Summary
Constructors Constructor Description TransformerWithDownstream(Transformer downstream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformergetDownstream()Get the request transformer below this layer.AntidoteResponsehandle(AntidotePB.ApbAbortTransaction op)AntidoteResponsehandle(AntidotePB.ApbCommitTransaction op)AntidoteResponsehandle(AntidotePB.ApbReadObjects op)AntidoteResponsehandle(AntidotePB.ApbStartTransaction op)AntidoteResponsehandle(AntidotePB.ApbStaticReadObjects op)AntidoteResponsehandle(AntidotePB.ApbStaticUpdateObjects op)AntidoteResponsehandle(AntidotePB.ApbUpdateObjects op)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface eu.antidotedb.client.messages.AntidoteRequest.Handler
handle, handle, handle
-
-
-
-
Constructor Detail
-
TransformerWithDownstream
public TransformerWithDownstream(Transformer downstream)
-
-
Method Detail
-
getDownstream
public Transformer getDownstream()
Get the request transformer below this layer. Can be used to forward requests to the next layer.- Returns:
- The request transformer one layer down
-
handle
public AntidoteResponse handle(AntidotePB.ApbReadObjects op)
- Specified by:
handlein interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbUpdateObjects op)
- Specified by:
handlein interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbStartTransaction op)
- Specified by:
handlein interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbAbortTransaction op)
- Specified by:
handlein interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbCommitTransaction op)
- Specified by:
handlein interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbStaticReadObjects op)
- Specified by:
handlein interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbStaticUpdateObjects op)
- Specified by:
handlein interfaceAntidoteRequest.Handler<AntidoteResponse>
-
-