public final class CSVWriteFunction extends FunctionN
args, argsCount, type
AUTO_PARENTHESES, MAP_IN_AGGREGATE, MAP_IN_WINDOW, MAP_INITIAL, WITH_PARENTHESES, WITHOUT_PARENTHESES
ADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS
Constructor and Description |
---|
CSVWriteFunction() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name.
|
Value |
getValue(SessionLocal session)
Return the resulting value for the current row.
|
boolean |
isEverything(ExpressionVisitor visitor)
Check if this expression and all sub-expressions can fulfill a criteria.
|
Expression |
optimize(SessionLocal session)
Try to optimize the expression.
|
static void |
setCsvDelimiterEscape(Csv csv,
java.lang.String fieldSeparator,
java.lang.String fieldDelimiter,
java.lang.String escapeCharacter)
Sets delimiter options.
|
getUnenclosedSQL, getValue
addParameter, doneWithParameters, getCost, getSubexpression, getSubexpressionCount, getType, mapColumns, optimizeArguments, setEvaluatable, updateAggregate
addFilterConditions, createIndexConditions, getAlias, getBooleanValue, getColumnName, getColumnNameForView, getEnclosedSQL, getNonAliasExpression, getNotIfPossible, getNullable, getSchemaName, getSQL, getSQL, getSQL, getSQL, getTableAlias, getTableName, getWhenSQL, getWhenValue, isConstant, isIdentity, isNullConstant, isValueSet, isWhenConditionOperand, needParentheses, optimizeCondition, toString, writeExpressions, writeExpressions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTraceSQL
public Value getValue(SessionLocal session)
Expression
public static void setCsvDelimiterEscape(Csv csv, java.lang.String fieldSeparator, java.lang.String fieldDelimiter, java.lang.String escapeCharacter)
csv
- the CSV utility instancefieldSeparator
- the field separatorfieldDelimiter
- the field delimiterescapeCharacter
- the escape characterpublic Expression optimize(SessionLocal session)
Expression
optimize
in class Expression
session
- the sessionpublic java.lang.String getName()
NamedExpression
public boolean isEverything(ExpressionVisitor visitor)
Expression
isEverything
in class OperationN
visitor
- the visitor