Package com.exasol.sql
Class ValueTableRow
- java.lang.Object
-
- com.exasol.sql.AbstractFragment
-
- com.exasol.sql.ValueTableRow
-
- All Implemented Interfaces:
Fragment
public class ValueTableRow extends AbstractFragment
This class represents a row in aValueTable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValueTableRow.BuilderBuilder forValueTableRows
-
Field Summary
-
Fields inherited from class com.exasol.sql.AbstractFragment
root
-
-
Constructor Summary
Constructors Constructor Description ValueTableRow(Fragment root, ValueExpression... expressions)Create a value table row from a list of expressions.ValueTableRow(Fragment root, String... values)Create a value table row from a list of string literals.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ValueTableVisitor visitor)Accept a visitor.static ValueTableRow.Builderbuilder(Fragment root)Get aValueTableRow.Builderfor aValueTableRow.List<ValueExpression>getExpressions()Get the list of expressions the row consists of.-
Methods inherited from class com.exasol.sql.AbstractFragment
getRoot
-
-
-
-
Constructor Detail
-
ValueTableRow
public ValueTableRow(Fragment root, ValueExpression... expressions)
Create a value table row from a list of expressions.- Parameters:
root- root node of the SQL statementexpressions- value expressions
-
-
Method Detail
-
getExpressions
public List<ValueExpression> getExpressions()
Get the list of expressions the row consists of.- Returns:
- list of expressions
-
accept
public void accept(ValueTableVisitor visitor)
Accept a visitor.- Parameters:
visitor- to accept.
-
builder
public static ValueTableRow.Builder builder(Fragment root)
Get aValueTableRow.Builderfor aValueTableRow.- Parameters:
root- root fragment of the SQL statement- Returns:
- new builder instance
-
-