Package org.hcjf.layers.query.model
Class QueryBsonBuilderLayer
- java.lang.Object
-
- org.hcjf.layers.Layer
-
- org.hcjf.layers.query.model.QueryBsonBuilderLayer
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler,LayerInterface,BsonCustomBuilderLayer<Query>
public class QueryBsonBuilderLayer extends Layer implements BsonCustomBuilderLayer<Query>
This inner class implements the custom method to create a query instance from a bson document.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hcjf.layers.Layer
Layer.Access, Layer.LayerAgent, Layer.LayerAgentMBean
-
-
Constructor Summary
Constructors Constructor Description QueryBsonBuilderLayer()
-
Method Summary
-
Methods inherited from class org.hcjf.layers.Layer
checkAccess, getAliases, getImplName, getLayer, getProxy, getSession, getTarget, invoke, isOverwritable, isPlugin, isStateful
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hcjf.layers.LayerInterface
getImplName, getRegex, isDistributed, isPlugin, isStateful
-
-
-
-
Method Detail
-
create
public Query create(org.hcjf.bson.BsonDocument document)
This implementation required that the document contains a field called '__query__' to create the query instance.- Specified by:
createin interfaceBsonCustomBuilderLayer<Query>- Parameters:
document- Bson document.- Returns:
- Returns a query instance.
-
-