Package org.hcjf.layers.query
Class ParameterizedQuery.ParameterizedQueryBsonCustomBuilderLayer
- java.lang.Object
-
- org.hcjf.layers.Layer
-
- org.hcjf.layers.query.ParameterizedQuery.ParameterizedQueryBsonCustomBuilderLayer
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler,LayerInterface,BsonCustomBuilderLayer<ParameterizedQuery>
- Enclosing class:
- ParameterizedQuery
public static class ParameterizedQuery.ParameterizedQueryBsonCustomBuilderLayer extends Layer implements BsonCustomBuilderLayer<ParameterizedQuery>
This inner class implements the custom method to create a Parameterized 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 ParameterizedQueryBsonCustomBuilderLayer()
-
Method Summary
Modifier and Type Method Description ParameterizedQuerycreate(org.hcjf.bson.BsonDocument document)This implementation required that the document contains a field called '__query__' and the field called '__params__' to create the parameterized query instance.-
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 ParameterizedQuery create(org.hcjf.bson.BsonDocument document)
This implementation required that the document contains a field called '__query__' and the field called '__params__' to create the parameterized query instance.- Specified by:
createin interfaceBsonCustomBuilderLayer<ParameterizedQuery>- Parameters:
document- Bson document.- Returns:
- Parameterized query instance.
-
-