public static class ConfigurationEngineDefaults.ViewResources extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
ViewResources()
Ctor - sets up defaults.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAllowMultipleExpiryPolicies()
By default this setting is false and thereby multiple expiry policies
provided by views can only be combined if any of the retain-keywords is also specified for the stream.
|
boolean |
isIterableUnbound()
Returns flag to indicate whether engine-wide unbound statements are iterable and return the last event.
|
boolean |
isShareViews()
Returns false to indicate the engine does not implicitly share similar view resources between statements (false is the default),
or true to indicate that the engine may implicitly share view resources between statements.
|
void |
setAllowMultipleExpiryPolicies(boolean allowMultipleExpiryPolicies)
Set to false (the default) and thereby disallow multiple expiry policies
provided by views and only allow if any of the retain-keywords are also specified for the stream.
|
void |
setIterableUnbound(boolean iterableUnbound)
Sets flag to indicate whether engine-wide unbound statements are iterable and return the last event.
|
void |
setShareViews(boolean shareViews)
Set the flag to instruct the engine whether to implicitly share view resources between
statements or not (false by default).
|
public boolean isShareViews()
public void setShareViews(boolean shareViews)
shareViews
- is true to share view resources between statements, or false to not share view
resources between statements declaring same-viewspublic boolean isAllowMultipleExpiryPolicies()
If set to true then multiple expiry policies are allowed and the following statement compiles without exception: "select * from MyEvent#time(10)#time(10)".
public void setAllowMultipleExpiryPolicies(boolean allowMultipleExpiryPolicies)
If set to true then multiple expiry policies are allowed and the following statement compiles without exception: "select * from MyEvent#time(10)#time(10)".
allowMultipleExpiryPolicies
- indicator whether to allow combining expiry policies provided by viewspublic boolean isIterableUnbound()
public void setIterableUnbound(boolean iterableUnbound)
iterableUnbound
- to set