Package io.siddhi.query.api.definition
Class Attribute
- java.lang.Object
-
- io.siddhi.query.api.definition.Attribute
-
- All Implemented Interfaces:
SiddhiElement,Serializable
public class Attribute extends Object implements SiddhiElement
Attributes of the Siddhi Definitions- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttribute.TypeDifferent Type of Attribute Types
-
Constructor Summary
Constructors Constructor Description Attribute(String name, Attribute.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()int[]getQueryContextEndIndex()int[]getQueryContextStartIndex()Attribute.TypegetType()inthashCode()voidsetQueryContextEndIndex(int[] lineAndColumn)voidsetQueryContextStartIndex(int[] lineAndColumn)StringtoString()
-
-
-
Constructor Detail
-
Attribute
public Attribute(String name, Attribute.Type type)
-
-
Method Detail
-
getName
public String getName()
-
getType
public Attribute.Type getType()
-
getQueryContextStartIndex
public int[] getQueryContextStartIndex()
- Specified by:
getQueryContextStartIndexin interfaceSiddhiElement
-
setQueryContextStartIndex
public void setQueryContextStartIndex(int[] lineAndColumn)
- Specified by:
setQueryContextStartIndexin interfaceSiddhiElement
-
getQueryContextEndIndex
public int[] getQueryContextEndIndex()
- Specified by:
getQueryContextEndIndexin interfaceSiddhiElement
-
setQueryContextEndIndex
public void setQueryContextEndIndex(int[] lineAndColumn)
- Specified by:
setQueryContextEndIndexin interfaceSiddhiElement
-
-