public class View extends EPBaseNamedObject
Constructor and Description |
---|
View()
Ctor.
|
View(String namespace,
String name,
List<Expression> parameters)
Creates a view.
|
Modifier and Type | Method and Description |
---|---|
static View |
create(String name)
Creates a view.
|
static View |
create(String name,
Expression... parameters)
Creates a view.
|
static View |
create(String name,
List<Expression> parameters)
Creates a view.
|
static View |
create(String namespace,
String name)
Creates a view.
|
static View |
create(String namespace,
String name,
Expression... parameters)
Creates a view.
|
static View |
create(String namespace,
String name,
List<Expression> parameters)
Creates a view.
|
void |
toEPLWithHash(StringWriter writer)
Render view.
|
getName, getNamespace, getParameters, setName, setNamespace, setParameters, toEPL
public View()
public View(String namespace, String name, List<Expression> parameters)
namespace
- is thie view namespace, i.e. "win" for data windowsname
- is the view name, i.e. "length" for length windowparameters
- is a list of view parameters, or empty if there are no parameters for the viewpublic static View create(String namespace, String name)
namespace
- is thie view namespace, i.e. "win" for data windowsname
- is the view name, i.e. "length" for length windowpublic static View create(String name)
name
- is the view name, i.e. "length" for length windowpublic static View create(String namespace, String name, List<Expression> parameters)
namespace
- is thie view namespace, i.e. "win" for data windowsname
- is the view name, i.e. "length" for length windowparameters
- is a list of view parameters, or empty if there are no parameters for the viewpublic static View create(String name, List<Expression> parameters)
name
- is the view name, i.e. "length" for length windowparameters
- is a list of view parameters, or empty if there are no parameters for the viewpublic static View create(String namespace, String name, Expression... parameters)
namespace
- is thie view namespace, i.e. "win" for data windowsname
- is the view name, i.e. "length" for length windowparameters
- is a list of view parameters, or empty if there are no parameters for the viewpublic static View create(String name, Expression... parameters)
name
- is the view name, i.e. "length" for length windowparameters
- is a list of view parameters, or empty if there are no parameters for the viewpublic void toEPLWithHash(StringWriter writer)
writer
- to render to