Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Model
Properties
Used by
Included schema common.xsd
Properties
attribute form default unqualified
element form default qualified
Element variables / variable
Annotations
A variable that will be used in the table-level rules defined in the field-rules element.
Diagram
Diagram common_xsd.tmp#variable-type_name common_xsd.tmp#variable-type_type common_xsd.tmp#variable-type_insert-dcl common_xsd.tmp#variable-type_update-dcl common_xsd.tmp#variable-type
Type variable-type
Properties
content complex
minOccurs 0
maxOccurs unbounded
Model
Children insert-dcl, update-dcl
Instance
<variable name="" type="">
  <insert-dcl>{0,1}</insert-dcl>
  <update-dcl>{0,1}</update-dcl>
</variable>
Attributes
QName Type Use Annotation
name name-type required
Case-sensitive name of the variable.
type data-type-type required
Type of the variable.
Element variable-type / insert-dcl
Annotations
Initial value for this variable for an insert operation.
Diagram
Diagram
Type xs:string
Properties
content simple
minOccurs 0
Element variable-type / update-dcl
Annotations
Initial value for this variable for an update operation.
Diagram
Diagram
Type xs:string
Properties
content simple
minOccurs 0
Element field-rules / rule
Annotations
Expression (or a reference to an expr-macro) to be applied on field content.
Diagram
Diagram common_xsd.tmp#rule-type_description common_xsd.tmp#rule-type_case common_xsd.tmp#rule-type_default common_xsd.tmp#rule-type
Type rule-type
Properties
content complex
minOccurs 0
maxOccurs unbounded
Model
Children case, default
Instance
<rule description="">
  <case test="">{0,unbounded}</case>
  <default>{0,1}</default>
</rule>
Attributes
QName Type Use Annotation
description xs:string optional
Describes the purpose for the rule.
Element rule-type / case
Annotations
Cases are mutually exclusive. Only the first case whose test returns true will be executed. Only if none are true will the default be executed.
Diagram
Diagram common_xsd.tmp#rule-case-type_insert common_xsd.tmp#rule-case-type_update common_xsd.tmp#rule-case-type common_xsd.tmp#rule-type_rule-type_case_test
Type extension of rule-case-type
Type hierarchy
Properties
content complex
minOccurs 0
maxOccurs unbounded
Model
Children insert, update
Instance
<case test="">
  <insert field="" variable="">{1,1}</insert>
  <update field="" variable="">{1,1}</update>
</case>
Attributes
QName Type Use Annotation
test xs:string required
Condition under which these insert and update operations will be performed.
Element rule-case-type / insert
Annotations
Expression that will be evaluated and assigned to the field or variable in an insert operation.
Diagram
Diagram common_xsd.tmp#insert-update-type_field common_xsd.tmp#insert-update-type_variable common_xsd.tmp#insert-update-type
Type insert-update-type
Properties
content complex
Attributes
QName Type Use Annotation
field xs:string optional
The name of the field that will be assigned the value of the expression.
variable xs:string optional
The name of the variable that will be assigned the value of the expression.
Element rule-case-type / update
Annotations
Expression that will be evaluated and assigned to the field or variable in an update operation.
Diagram
Diagram common_xsd.tmp#insert-update-type_field common_xsd.tmp#insert-update-type_variable common_xsd.tmp#insert-update-type
Type insert-update-type
Properties
content complex
Attributes
QName Type Use Annotation
field xs:string optional
The name of the field that will be assigned the value of the expression.
variable xs:string optional
The name of the variable that will be assigned the value of the expression.
Element rule-type / default
Annotations
The default to be executed only if none of the tests for the cases were successful.
Diagram
Diagram common_xsd.tmp#rule-case-type_insert common_xsd.tmp#rule-case-type_update common_xsd.tmp#rule-case-type
Type rule-case-type
Properties
content complex
minOccurs 0
maxOccurs 1
Model
Children insert, update
Instance
<default>
  <insert field="" variable="">{1,1}</insert>
  <update field="" variable="">{1,1}</update>
</default>
Element filtered-table-aliases-type / filtered-table-alias
Diagram
Diagram common_xsd.tmp#filtered-table-alias-type_filter common_xsd.tmp#filtered-table-alias-type_table-name-formatter common_xsd.tmp#filtered-table-alias-type
Type filtered-table-alias-type
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
filter NonEmptyString required
Part of a predicate that will be appended (using 'AND' or the equivalent in the query language of the table being used)
to all queries coming to the aliased table.  This predicate should be in the query language of the base table.
table-name-formatter NonEmptyString required
This can be simply the name of the aliased table, or a formatter string as would be passed to java.lang.String.format method, 
where %s will be replaced with the name of the base table.
Element external-server-connection-type / parameters
Annotations
Add any number of parameters. The names of parameters are determined by the specific TableProvider.
Diagram
Diagram common_xsd.tmp#external-server-connection-type_external-server-connection-type_parameters_parameter
Properties
content complex
minOccurs 0
maxOccurs 1
Model
Children parameter
Instance
<parameters>
  <parameter key="">{0,unbounded}</parameter>
</parameters>
Element external-server-connection-type / parameters / parameter
Annotations
An parameter to be passed to the TableProvider. You can put the value in a CDATA section, if necessary.
Diagram
Diagram common_xsd.tmp#parameter-type_key common_xsd.tmp#parameter-type
Type parameter-type
Properties
content complex
minOccurs 0
maxOccurs unbounded
Attributes
QName Type Use Annotation
key optional
The key that identifies the parameter. This is specific to the class receiving this parameter. The key is case-sensitive.
Element external-server-connection-type / mappings
Annotations
Add any number of mappings, which the TableProvider can use to convert names from its source.
Diagram
Diagram common_xsd.tmp#external-server-connection-type_external-server-connection-type_mappings_mapping
Properties
content complex
minOccurs 0
maxOccurs 1
Model
Children mapping
Instance
<mappings>
  <mapping formatter="" ignore="false" selector="">{0,unbounded}</mapping>
</mappings>
Element external-server-connection-type / mappings / mapping
Diagram
Diagram common_xsd.tmp#mapping-type_selector common_xsd.tmp#mapping-type_formatter common_xsd.tmp#mapping-type_ignore common_xsd.tmp#mapping-type_filtered-table-aliases common_xsd.tmp#mapping-type
Type mapping-type
Properties
content complex
minOccurs 0
maxOccurs unbounded
Model
Children filtered-table-aliases
Instance
<mapping formatter="" ignore="false" selector="">
  <filtered-table-aliases>{0,1}</filtered-table-aliases>
</mapping>
Attributes
QName Type Default Use Annotation
formatter xs:string optional
Formatter string for java.util.String.format that will be used to create the replacement name from the selection in the selector.
ignore xs:boolean false optional
If set to true, ignores the table matching the selector
selector xs:string required
Regular expression that will select the names to pass through. To use only part of the name in the formatter, enclose in parentheses the portion of the regex that selects that portion.
Element mapping-type / filtered-table-aliases
Diagram
Diagram common_xsd.tmp#filtered-table-aliases-type_filtered-table-alias common_xsd.tmp#filtered-table-aliases-type
Type filtered-table-aliases-type
Properties
content complex
minOccurs 0
maxOccurs 1
Model
Children filtered-table-alias
Instance
<filtered-table-aliases>
  <filtered-table-alias filter="" table-name-formatter="">{1,unbounded}</filtered-table-alias>
</filtered-table-aliases>
Element external-server-connection-type / retry-parameters
Annotations
Enter information about how the system should retry the connection in the event of a failure. Default is unlimited retries every 120 seconds.
Diagram
Diagram common_xsd.tmp#retry-parameters-type_wait-seconds common_xsd.tmp#retry-parameters-type_maximum-failed-attempts common_xsd.tmp#retry-parameters-type
Type retry-parameters-type
Properties
content complex
minOccurs 0
maxOccurs 1
Attributes
QName Type Default Use Annotation
maximum-failed-attempts xs:int 0 optional
The maximum number of failed attempts in a row before giving up. Any value less than 1 will mean never give up. Default is 0.
wait-seconds xs:int 10 optional
The number of seconds to wait before retrying. Default is 10.
Element external-connection-wrapper
Diagram
Diagram common_xsd.tmp#external-connection-wrapper_connection
Properties
content complex
Model
Children connection
Instance
<external-connection-wrapper>
  <connection id="" table-provider-class="" type="">{1,1}</connection>
</external-connection-wrapper>
Element external-connection-wrapper / connection
Diagram
Diagram common_xsd.tmp#external-server-connection-type_id common_xsd.tmp#external-server-connection-type_type common_xsd.tmp#external-server-connection-type_table-provider-class common_xsd.tmp#external-server-connection-type_parameters common_xsd.tmp#external-server-connection-type_mappings common_xsd.tmp#external-server-connection-type_retry-parameters common_xsd.tmp#external-server-connection-type
Type external-server-connection-type
Properties
content complex
Model
Children mappings, parameters, retry-parameters
Instance
<connection id="" table-provider-class="" type="">
  <parameters>{0,1}</parameters>
  <mappings>{0,1}</mappings>
  <retry-parameters maximum-failed-attempts="0" wait-seconds="10">{0,1}</retry-parameters>
</connection>
Attributes
QName Type Use Annotation
id xs:string required
Identifier for this table provider, which must be the same as the basename of the file that defines this table provider.
table-provider-class xs:string optional
The Java class that implements TableProvider and will manage the connection to some remote source of tables. This field is required if you have specified a type of custom-table-provider.
type external-connection-type-type required
The type of external connection: CEP-query-tables, LiveView, jdbc-tables, active-spaces-tables or custom-table-provider.
uri (required): CEP-query-tables expects the URI parameter, stating the URI of the server. Sample:
sb://com.streambase.liveview:10000.
uri (required): LiveView expects the same URI parameter, but with the LiveView port. Sample:
lv://com.streambase.liveview:10080
username: The username for connecting to the CEP server that the external LiveView server is based on.
password (optional): The password for connecting to the CEP server that the external LiveView server is based on.
liveview.streambase.connection.pool.max.connections
(optional): default = 200
liveview.streambase.connection.pool.queries.per.connections
(optional): default = 10000
liveview.streambase.connection.pool.publishers.per.connections
(optional): default = 10000
liveview.streambase.connection.pool.connection.xmlrpc.timeout.millis
(optional): default = 5000
Complex Type base-field-type
Diagram
Diagram common_xsd.tmp#typed-field-type_name common_xsd.tmp#typed-field-type_type common_xsd.tmp#typed-field-type_short-name common_xsd.tmp#typed-field-type_description common_xsd.tmp#typed-field-type common_xsd.tmp#base-field-type_ignore-case
Type extension of typed-field-type
Type hierarchy
Used by
Complex Type field-type
Attributes
QName Type Default Use Annotation
description xs:string optional
Longer description of the field.
ignore-case xs:boolean false optional
For string fields. If set to true, then searches on this field are case insensitive by default.
name name-type required
Unique field name within the table.
short-name xs:string optional
Short description of the field.
type data-type-type required
Field data type.
Complex Type typed-field-type
Diagram
Diagram common_xsd.tmp#typed-field-type_name common_xsd.tmp#typed-field-type_type common_xsd.tmp#typed-field-type_short-name common_xsd.tmp#typed-field-type_description
Used by
Attributes
QName Type Use Annotation
description xs:string optional
Longer description of the field.
name name-type required
Unique field name within the table.
short-name xs:string optional
Short description of the field.
type data-type-type required
Field data type.
Simple Type name-type
Annotations
Valid name type for things such as fields.
Diagram
Diagram
Type restriction of xs:string
Facets
pattern [a-zA-Z]\S*
Used by
Simple Type data-type-type
Annotations
Enumeration of the possible data types for fields.
Diagram
Diagram
Type restriction of xs:string
Facets
enumeration string
enumeration long
enumeration double
enumeration int
enumeration timestamp
enumeration blob
enumeration bool
Used by
Complex Type variables
Diagram
Diagram common_xsd.tmp#variables_variable
Used by
Model
Children variable
Complex Type variable-type
Diagram
Diagram common_xsd.tmp#variable-type_name common_xsd.tmp#variable-type_type common_xsd.tmp#variable-type_insert-dcl common_xsd.tmp#variable-type_update-dcl
Used by
Model
Children insert-dcl, update-dcl
Attributes
QName Type Use Annotation
name name-type required
Case-sensitive name of the variable.
type data-type-type required
Type of the variable.
Complex Type field-rules
Diagram
Diagram common_xsd.tmp#field-rules_rule
Used by
Model
Children rule
Complex Type rule-type
Diagram
Diagram common_xsd.tmp#rule-type_description common_xsd.tmp#rule-type_case common_xsd.tmp#rule-type_default
Used by
Model
Children case, default
Attributes
QName Type Use Annotation
description xs:string optional
Describes the purpose for the rule.
Complex Type rule-case-type
Diagram
Diagram common_xsd.tmp#rule-case-type_insert common_xsd.tmp#rule-case-type_update
Used by
Model
Children insert, update
Complex Type insert-update-type
Annotations
An insert or update operation for either a field or a variable.  Specify either a field or a variable to be the target of the assignment, but not both.
Diagram
Diagram common_xsd.tmp#insert-update-type_field common_xsd.tmp#insert-update-type_variable
Type extension of xs:string
Used by
Attributes
QName Type Use Annotation
field xs:string optional
The name of the field that will be assigned the value of the expression.
variable xs:string optional
The name of the variable that will be assigned the value of the expression.
Complex Type filtered-table-aliases-type
Annotations
A list of tables that are created by putting a filter over an existing table.  
These tables do not have their own separate storage, the filter is simply appended to the predicate to a query, and then the augmented query is applied to the original table.
Diagram
Diagram common_xsd.tmp#filtered-table-aliases-type_filtered-table-alias
Used by
Model
Children filtered-table-alias
Complex Type filtered-table-alias-type
Annotations
A table that is created by putting a filter over an existing table.  
This table does not have their own separate storage, the filter is simply appended to the predicate to a query, 
and then the augmented query is applied to the original table.
Diagram
Diagram common_xsd.tmp#filtered-table-alias-type_filter common_xsd.tmp#filtered-table-alias-type_table-name-formatter
Used by
Attributes
QName Type Use Annotation
filter NonEmptyString required
Part of a predicate that will be appended (using 'AND' or the equivalent in the query language of the table being used)
to all queries coming to the aliased table.  This predicate should be in the query language of the base table.
table-name-formatter NonEmptyString required
This can be simply the name of the aliased table, or a formatter string as would be passed to java.lang.String.format method, 
where %s will be replaced with the name of the base table.
Simple Type NonEmptyString
Diagram
Diagram
Type restriction of xs:string
Facets
minLength 1
Used by
Complex Type external-server-connection-type
Annotations
Connection to another source of LiveView Tables.
Diagram
Diagram common_xsd.tmp#external-server-connection-type_id common_xsd.tmp#external-server-connection-type_type common_xsd.tmp#external-server-connection-type_table-provider-class common_xsd.tmp#external-server-connection-type_parameters common_xsd.tmp#external-server-connection-type_mappings common_xsd.tmp#external-server-connection-type_retry-parameters
Used by
Model
Children mappings, parameters, retry-parameters
Attributes
QName Type Use Annotation
id xs:string required
Identifier for this table provider, which must be the same as the basename of the file that defines this table provider.
table-provider-class xs:string optional
The Java class that implements TableProvider and will manage the connection to some remote source of tables. This field is required if you have specified a type of custom-table-provider.
type external-connection-type-type required
The type of external connection: CEP-query-tables, LiveView, jdbc-tables, active-spaces-tables or custom-table-provider.
uri (required): CEP-query-tables expects the URI parameter, stating the URI of the server. Sample:
sb://com.streambase.liveview:10000.
uri (required): LiveView expects the same URI parameter, but with the LiveView port. Sample:
lv://com.streambase.liveview:10080
username: The username for connecting to the CEP server that the external LiveView server is based on.
password (optional): The password for connecting to the CEP server that the external LiveView server is based on.
liveview.streambase.connection.pool.max.connections
(optional): default = 200
liveview.streambase.connection.pool.queries.per.connections
(optional): default = 10000
liveview.streambase.connection.pool.publishers.per.connections
(optional): default = 10000
liveview.streambase.connection.pool.connection.xmlrpc.timeout.millis
(optional): default = 5000
Complex Type parameter-type
Diagram
Diagram common_xsd.tmp#parameter-type_key
Type extension of xs:string
Used by
Attributes
QName Type Use Annotation
key optional
The key that identifies the parameter. This is specific to the class receiving this parameter. The key is case-sensitive.
Complex Type mapping-type
Diagram
Diagram common_xsd.tmp#mapping-type_selector common_xsd.tmp#mapping-type_formatter common_xsd.tmp#mapping-type_ignore common_xsd.tmp#mapping-type_filtered-table-aliases
Used by
Model
Children filtered-table-aliases
Attributes
QName Type Default Use Annotation
formatter xs:string optional
Formatter string for java.util.String.format that will be used to create the replacement name from the selection in the selector.
ignore xs:boolean false optional
If set to true, ignores the table matching the selector
selector xs:string required
Regular expression that will select the names to pass through. To use only part of the name in the formatter, enclose in parentheses the portion of the regex that selects that portion.
Complex Type retry-parameters-type
Diagram
Diagram common_xsd.tmp#retry-parameters-type_wait-seconds common_xsd.tmp#retry-parameters-type_maximum-failed-attempts
Used by
Attributes
QName Type Default Use Annotation
maximum-failed-attempts xs:int 0 optional
The maximum number of failed attempts in a row before giving up. Any value less than 1 will mean never give up. Default is 0.
wait-seconds xs:int 10 optional
The number of seconds to wait before retrying. Default is 10.
Simple Type external-connection-type-type
Diagram
Diagram
Type restriction of xs:string
Facets
enumeration LiveView
enumeration custom-table-provider
enumeration CEP-query-tables
enumeration jdbc-tables
enumeration active-spaces-tables
Used by
Attribute typed-field-type / @name
Annotations
Unique field name within the table.
Type name-type
Properties
use required
Facets
pattern [a-zA-Z]\S*
Used by
Complex Type typed-field-type
Attribute typed-field-type / @type
Annotations
Field data type.
Type data-type-type
Properties
use required
Facets
enumeration string
enumeration long
enumeration double
enumeration int
enumeration timestamp
enumeration blob
enumeration bool
Used by
Complex Type typed-field-type
Attribute typed-field-type / @short-name
Annotations
Short description of the field.
Type xs:string
Properties
content simple
Used by
Complex Type typed-field-type
Attribute typed-field-type / @description
Annotations
Longer description of the field.
Type xs:string
Properties
content simple
Used by
Complex Type typed-field-type
Attribute base-field-type / @ignore-case
Annotations
For string fields. If set to true, then searches on this field are case insensitive by default.
Type xs:boolean
Properties
default false
Used by
Complex Type base-field-type
Attribute variable-type / @name
Annotations
Case-sensitive name of the variable.
Type name-type
Properties
use required
Facets
pattern [a-zA-Z]\S*
Used by
Complex Type variable-type
Attribute variable-type / @type
Annotations
Type of the variable.
Type data-type-type
Properties
use required
Facets
enumeration string
enumeration long
enumeration double
enumeration int
enumeration timestamp
enumeration blob
enumeration bool
Used by
Complex Type variable-type
Attribute insert-update-type / @field
Annotations
The name of the field that will be assigned the value of the expression.
Type xs:string
Properties
content simple
Used by
Complex Type insert-update-type
Attribute insert-update-type / @variable
Annotations
The name of the variable that will be assigned the value of the expression.
Type xs:string
Properties
content simple
Used by
Complex Type insert-update-type
Attribute rule-type / case / @test
Annotations
Condition under which these insert and update operations will be performed.
Type xs:string
Properties
use required
Used by
Element rule-type/case
Attribute rule-type / @description
Annotations
Describes the purpose for the rule.
Type xs:string
Properties
content simple
Used by
Complex Type rule-type
Attribute filtered-table-alias-type / @filter
Annotations
Part of a predicate that will be appended (using 'AND' or the equivalent in the query language of the table being used)
to all queries coming to the aliased table.  This predicate should be in the query language of the base table.
Type NonEmptyString
Properties
use required
Facets
minLength 1
Used by
Attribute filtered-table-alias-type / @table-name-formatter
Annotations
This can be simply the name of the aliased table, or a formatter string as would be passed to java.lang.String.format method, 
where %s will be replaced with the name of the base table.
Type NonEmptyString
Properties
use required
Facets
minLength 1
Used by
Attribute parameter-type / @key
Annotations
The key that identifies the parameter. This is specific to the class receiving this parameter. The key is case-sensitive.
Used by
Complex Type parameter-type
Attribute mapping-type / @selector
Annotations
Regular expression that will select the names to pass through. To use only part of the name in the formatter, enclose in parentheses the portion of the regex that selects that portion.
Type xs:string
Properties
use required
Used by
Complex Type mapping-type
Attribute mapping-type / @formatter
Annotations
Formatter string for java.util.String.format that will be used to create the replacement name from the selection in the selector.
Type xs:string
Properties
use optional
Used by
Complex Type mapping-type
Attribute mapping-type / @ignore
Annotations
If set to true, ignores the table matching the selector
Type xs:boolean
Properties
use optional
default false
Used by
Complex Type mapping-type
Attribute retry-parameters-type / @wait-seconds
Annotations
The number of seconds to wait before retrying. Default is 10.
Type xs:int
Properties
use optional
default 10
Used by
Complex Type retry-parameters-type
Attribute retry-parameters-type / @maximum-failed-attempts
Annotations
The maximum number of failed attempts in a row before giving up. Any value less than 1 will mean never give up. Default is 0.
Type xs:int
Properties
use optional
default 0
Used by
Complex Type retry-parameters-type
Attribute external-server-connection-type / @id
Annotations
Identifier for this table provider, which must be the same as the basename of the file that defines this table provider.
Type xs:string
Properties
use required
Used by
Attribute external-server-connection-type / @type
Annotations
The type of external connection: CEP-query-tables, LiveView, jdbc-tables, active-spaces-tables or custom-table-provider.
uri (required): CEP-query-tables expects the URI parameter, stating the URI of the server. Sample:
sb://com.streambase.liveview:10000.
uri (required): LiveView expects the same URI parameter, but with the LiveView port. Sample:
lv://com.streambase.liveview:10080
username: The username for connecting to the CEP server that the external LiveView server is based on.
password (optional): The password for connecting to the CEP server that the external LiveView server is based on.
liveview.streambase.connection.pool.max.connections
(optional): default = 200
liveview.streambase.connection.pool.queries.per.connections
(optional): default = 10000
liveview.streambase.connection.pool.publishers.per.connections
(optional): default = 10000
liveview.streambase.connection.pool.connection.xmlrpc.timeout.millis
(optional): default = 5000
Type external-connection-type-type
Properties
use required
Facets
enumeration LiveView
enumeration custom-table-provider
enumeration CEP-query-tables
enumeration jdbc-tables
enumeration active-spaces-tables
Used by
Attribute external-server-connection-type / @table-provider-class
Annotations
The Java class that implements TableProvider and will manage the connection to some remote source of tables. This field is required if you have specified a type of custom-table-provider.
Type xs:string
Properties
default
Used by