Class ResultSetJsonWriter
java.lang.Object
org.eclipse.dirigible.databases.processor.format.ResultSetJsonWriter
- All Implemented Interfaces:
ResultSetWriter<String>
public class ResultSetJsonWriter extends Object implements ResultSetWriter<String>
The ResultSet Json Writer.
-
Constructor Summary
Constructors Constructor Description ResultSetJsonWriter() -
Method Summary
Modifier and Type Method Description booleanisLimited()Checks if is limited.voidsetLimited(boolean limited)Sets the limited.Stringwrite(ResultSet resultSet)Write the provided ResultSet.
-
Constructor Details
-
ResultSetJsonWriter
public ResultSetJsonWriter()
-
-
Method Details
-
isLimited
public boolean isLimited()Checks if is limited.- Returns:
- true, if is limited
-
setLimited
public void setLimited(boolean limited)Sets the limited.- Parameters:
limited- the new limited
-
write
Description copied from interface:ResultSetWriterWrite the provided ResultSet.- Specified by:
writein interfaceResultSetWriter<String>- Parameters:
resultSet- the rs- Returns:
- the t
- Throws:
SQLException- the SQL exception
-