本文整理匯總了Java中io.ebean.text.json.JsonContext類的典型用法代碼示例。如果您正苦於以下問題:Java JsonContext類的具體用法?Java JsonContext怎麽用?Java JsonContext使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
JsonContext類屬於io.ebean.text.json包,在下文中一共展示了JsonContext類的12個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: ElasticJsonContext
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
/**
* Construct with the Ebean JsonContext (which handles all scalar types know to Ebean).
*/
public ElasticJsonContext(JsonContext jsonContext) {
this.jsonContext = jsonContext;
this.matchWriter = new WriteMatchExpression(jsonContext);
this.commonTermsWriter = new WriteCommonTermsExpression();
this.simpleWriter = new WriteTextSimpleExpression();
this.queryStringWriter = new WriteQueryStringExpression();
}
示例2: EQueryEach
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
EQueryEach(DocQueryRequest<T> request, EQuerySend send, JsonContext jsonContext, String nameType, String jsonQuery) {
super(request.getQuery(), jsonContext, request.createJsonReadOptions());
this.send = send;
this.request = request;
this.nameType = nameType;
this.jsonQuery = jsonQuery;
}
示例3: WriteMatchExpression
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
WriteMatchExpression(JsonContext jsonContext) {
this.jsonContext = jsonContext;
}
示例4: EQuery
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
EQuery(SpiQuery<T> query, JsonContext jsonContext, JsonReadOptions jsonOptions) {
this.query = query;
this.beanType = query.getBeanDescriptor();
this.jsonContext = jsonContext;
this.jsonOptions = jsonOptions;
}
示例5: FindSerializers
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
FindSerializers(JsonContext jsonContext) {
this.jsonContext = jsonContext;
}
示例6: FindDeserializers
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
/**
* Construct with the given JsonContext.
*/
FindDeserializers(JsonContext jsonContext) {
this.jsonContext = jsonContext;
}
示例7: CommonBeanSerializer
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
/**
* Construct with the given JsonContext.
*/
CommonBeanSerializer(JsonContext jsonContext) {
this.jsonContext = jsonContext;
}
示例8: json
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
@Override
public JsonContext json() {
return null;
}
示例9: json
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
@Override
public JsonContext json() {
methodCalls.add(MethodCall.of("json"));
return delegate.json();
}
示例10: json
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
@Override
public JsonContext json() {
return Mockito.mock(JsonContext.class);
}
示例11: BeanTypeDeserializer
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
/**
* <p>Constructor for BeanTypeDeserializer.</p>
*
* @param jsonContext a {@link io.ebean.text.json.JsonContext} object.
* @param beanType a {@link java.lang.Class} object.
*/
public BeanTypeDeserializer(JsonContext jsonContext, Class<?> beanType) {
this.jsonContext = jsonContext;
this.beanType = beanType;
}
示例12: BeanListTypeDeserializer
import io.ebean.text.json.JsonContext; //導入依賴的package包/類
/**
* <p>Constructor for BeanListTypeDeserializer.</p>
*
* @param jsonContext a {@link io.ebean.text.json.JsonContext} object.
* @param beanType a {@link java.lang.Class} object.
*/
public BeanListTypeDeserializer(JsonContext jsonContext, Class<?> beanType) {
this.jsonContext = jsonContext;
this.beanType = beanType;
}