com.espertech.esper.client.soda.IntoTableClause Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esper Show documentation
Show all versions of esper Show documentation
Complex event processing and event series analysis component
/*
* *************************************************************************************
* Copyright (C) 2006-2015 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;
/**
* Into-table clause.
*/
public class IntoTableClause implements Serializable {
private static final long serialVersionUID = -6050352961217205980L;
private String tableName;
/**
* Ctor.
* @param tableName table name
*/
public IntoTableClause(String tableName) {
this.tableName = tableName;
}
/**
* Ctor.
*/
public IntoTableClause() {
}
/**
* Returns the table name.
* @return table name
*/
public String getTableName() {
return tableName;
}
/**
* Sets the table name.
* @param tableName table name
*/
public void setTableName(String tableName) {
this.tableName = tableName;
}
/**
* Renders the clause.
* @param writer to write to
*/
public void toEPL(StringWriter writer) {
writer.append("into table ");
writer.append(tableName);
writer.append(" ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy