APISonar


com.espertech.esper.common.internal.support.EventRepresentationChoice.JSON

> com > espertech > esper > common > internal > support > EventRepresentationChoice > JSON
com APIs espertech APIs esper APIs common APIs internal APIs support APIs EventRepresentationChoice APIs JSON APIs

Example 1
public static List<RegressionExecution> executions() {
        List<RegressionExecution> execs = new ArrayList<>();
        execs.add(new EPLInsertIntoTypableSubquery());
        execs.add(new EPLInsertIntoTypableNewOperatorDocSample());
        execs.add(new EPLInsertIntoTypableAndCaseNew(EventRepresentationChoice.MAP));
        execs.add(new EPLInsertIntoTypableAndCaseNew(EventRepresentationChoice.OBJECTARRAY));
        execs.add(new EPLInsertIntoTypableAndCaseNew(EventRepresentationChoice.JSON));
        execs.add(new EPLInsertIntoInvalid());
        execs.add(new EPLInsertIntoEnumerationSubquery());
        return execs;
    }
Example 2
public void run(RegressionEnvironment env) {
        runAssertion(env, EventRepresentationChoice.OBJECTARRAY, "");
        runAssertion(env, EventRepresentationChoice.MAP, "");
        runAssertion(env, EventRepresentationChoice.AVRO, "@AvroSchemaField(name='myid',schema='[\"int\",{\"type\":\"string\",\"avro.java.string\":\"String\"},\"null\"]')");
        runAssertion(env, EventRepresentationChoice.DEFAULT, "");
        runAssertion(env, EventRepresentationChoice.JSON, "");
    }