Skip to content

Commit

Permalink
some documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
phil3k committed Nov 26, 2017
1 parent 68badeb commit 471134a
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,20 @@
*/
public class SelectEsperStreamOperator<KEY, IN, OUT> extends AbstractUdfStreamOperator<OUT, EsperSelectFunction<OUT>> implements OneInputStreamOperator<IN, OUT>, Triggerable<KEY, VoidNamespace>, Serializable {

private static final String ESPER_SERVICE_PROVIDER_STATE = "esperServiceProviderState";

/** The Esper query to execute */
private final String query;

/** The inferred input type of the user function */
private final TypeInformation<IN> inputType;
private ValueState<EPServiceProvider> engineState;
private static final String ESPER_SERVICE_PROVIDER_STATE = "esperServiceProviderState";

/** The lock for creating a thread-safe instance of an Esper service provider */
private final Object lock = new Object[0];

/** The state containing the Esper engine */
private ValueState<EPServiceProvider> engineState;

/**
* Constructs a new operator. Requires the type of the input DataStream to register its Event Type at Esper.
* Currently only processing time evaluation is supported.
Expand Down

0 comments on commit 471134a

Please sign in to comment.