com.espertech.esper.client.annotation
Annotation Type ExternalDW


public @interface ExternalDW

Annotation for defining an external data window name and open/close functon.


Required Element Summary
 java.lang.String name
          Name
 
Optional Element Summary
 java.lang.String functionClose
          Close function.
 java.lang.String functionOpen
          Open function.
 boolean unique
          Indicator whether unique-key semantics should apply.
 

Element Detail

name

public abstract java.lang.String name
Name

Returns:
name

functionOpen

public abstract java.lang.String functionOpen
Open function.

Returns:
open function.
Default:
""

functionClose

public abstract java.lang.String functionClose
Close function.

Returns:
close function
Default:
""

unique

public abstract boolean unique
Indicator whether unique-key semantics should apply.

This indicator is false by default meaning that the implementation should not assume unique-data-window semantics, and would not need to post the previous value of the key as a remove stream event.

Setting this indicator is interpreted by an implementation to assume unique-data-window semantics, thereby instructing to post the previous value for the currently-updated key as a remove stream event.

Returns:
unique-key semantics
Default:
false

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com