public class TextLine extends Object implements Expression
Modifier and Type | Class and Description |
---|---|
static interface |
TextLine.ValueExtractor<T> |
LanguageObject.Util
Modifier and Type | Field and Description |
---|---|
static String |
nl |
static char |
NO_QUOTE_CHAR |
Constructor and Description |
---|
TextLine() |
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
TextLine |
clone()
Implement clone to make objects cloneable.
|
boolean |
equals(Object obj) |
static <T> String[] |
evaluate(List<T> values,
TextLine.ValueExtractor<T> valueExtractor,
TextLine textLine) |
Character |
getDelimiter() |
String |
getEncoding() |
List<DerivedColumn> |
getExpressions() |
String |
getLineEnding() |
Character |
getQuote() |
Class<?> |
getType()
Get the return type of this expression.
|
int |
hashCode() |
boolean |
isIncludeHeader() |
void |
setDelimiter(Character delimiter) |
void |
setEncoding(String encoding) |
void |
setExpressions(List<DerivedColumn> expressions) |
void |
setIncludeHeader(boolean includeHeader) |
void |
setLineEnding(String lineEnding) |
void |
setQuote(Character quote) |
String |
toString() |
public static final String nl
public static final char NO_QUOTE_CHAR
public Character getDelimiter()
public void setDelimiter(Character delimiter)
public String getEncoding()
public void setEncoding(String encoding)
public Character getQuote()
public void setQuote(Character quote)
public boolean isIncludeHeader()
public void setIncludeHeader(boolean includeHeader)
public List<DerivedColumn> getExpressions()
public void setExpressions(List<DerivedColumn> expressions)
public String getLineEnding()
public void setLineEnding(String lineEnding)
public Class<?> getType()
Expression
getType
in interface Expression
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
visitor
- Visitor being usedpublic TextLine clone()
LanguageObject
clone
in interface LanguageObject
clone
in class Object
public static <T> String[] evaluate(List<T> values, TextLine.ValueExtractor<T> valueExtractor, TextLine textLine) throws TeiidProcessingException
TeiidProcessingException
Copyright © 2018 JBoss by Red Hat. All rights reserved.