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 Transformer
getDownstream()
Get the request transformer below this layer.AntidoteResponse
handle(AntidotePB.ApbAbortTransaction op)
AntidoteResponse
handle(AntidotePB.ApbCommitTransaction op)
AntidoteResponse
handle(AntidotePB.ApbReadObjects op)
AntidoteResponse
handle(AntidotePB.ApbStartTransaction op)
AntidoteResponse
handle(AntidotePB.ApbStaticReadObjects op)
AntidoteResponse
handle(AntidotePB.ApbStaticUpdateObjects op)
AntidoteResponse
handle(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:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbUpdateObjects op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbStartTransaction op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbAbortTransaction op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbCommitTransaction op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbStaticReadObjects op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
-
handle
public AntidoteResponse handle(AntidotePB.ApbStaticUpdateObjects op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
-
-