Class ResultSetCsvWriter
java.lang.Object
org.eclipse.dirigible.databases.processor.format.AbstractResultSetWriter<String>
org.eclipse.dirigible.databases.processor.format.ResultSetCsvWriter
- All Implemented Interfaces:
ResultSetWriter<String>
public class ResultSetCsvWriter extends AbstractResultSetWriter<String>
The ResultSet CSV Writer.
-
Constructor Summary
Constructors Constructor Description ResultSetCsvWriter() -
Method Summary
Modifier and Type Method Description booleanisLimited()Checks if is limited.booleanisStringified()Checks if is stringified.voidsetLimited(boolean limited)Sets the limited.voidsetStringified(boolean stringify)Sets the stringified.Stringwrite(ResultSet resultSet)Write.Methods inherited from class org.eclipse.dirigible.databases.processor.format.AbstractResultSetWriter
getLimit, setLimit
-
Constructor Details
-
ResultSetCsvWriter
public ResultSetCsvWriter()
-
-
Method Details
-
isLimited
public boolean isLimited()Checks if is limited.- Overrides:
isLimitedin classAbstractResultSetWriter<String>- Returns:
- true, if is limited
-
setLimited
public void setLimited(boolean limited)Sets the limited.- Overrides:
setLimitedin classAbstractResultSetWriter<String>- Parameters:
limited- the new limited
-
isStringified
public boolean isStringified()Checks if is stringified.- Overrides:
isStringifiedin classAbstractResultSetWriter<String>- Returns:
- true, if is stringified
-
setStringified
public void setStringified(boolean stringify)Sets the stringified.- Overrides:
setStringifiedin classAbstractResultSetWriter<String>- Parameters:
stringify- the new stringified
-
write
Write.- Parameters:
resultSet- the result set- Returns:
- the string
- Throws:
SQLException- the SQL exception
-