All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.espertech.esper.client.soda.MatchRecognizeRegEx Maven / Gradle / Ivy

There is a newer version: 7.1.0
Show newest version
/*
 ***************************************************************************************
 *  Copyright (C) 2006 EsperTech, Inc. All rights reserved.                            *
 *  http://www.espertech.com/esper                                                     *
 *  http://www.espertech.com                                                           *
 *  ---------------------------------------------------------------------------------- *
 *  The software in this package is published under the terms of the GPL license       *
 *  a copy of which has been included with this distribution in the license.txt file.  *
 ***************************************************************************************
 */
package com.espertech.esper.client.soda;

import java.io.Serializable;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.List;

/**
 * Interface representing an expression for use in match-recognize.
 * 

* Event row regular expressions are organized into a tree-like structure with nodes representing sub-expressions. */ public abstract class MatchRecognizeRegEx implements Serializable { private static final long serialVersionUID = 6650134218683492050L; private String treeObjectName; private List children; /** * Returns id of expression assigned by tools. * * @return id */ public String getTreeObjectName() { return treeObjectName; } /** * Sets id of expression assigned by tools. * * @param treeObjectName to set */ public void setTreeObjectName(String treeObjectName) { this.treeObjectName = treeObjectName; } /** * Ctor. */ protected MatchRecognizeRegEx() { this.children = new ArrayList(); } /** * Returns child nodes. * * @return child nodes */ public List getChildren() { return children; } /** * Set child nodes. * * @param children child nodes to set */ public void setChildren(List children) { this.children = children; } /** * Write EPL. * * @param writer to use */ public abstract void writeEPL(StringWriter writer); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy