Class AbstractResultSetWriter<T>
java.lang.Object
org.eclipse.dirigible.databases.processor.format.AbstractResultSetWriter<T>
- Type Parameters:
T- the generic type
- All Implemented Interfaces:
ResultSetWriter<T>
- Direct Known Subclasses:
ResultSetCsvWriter,ResultSetJsonWriter,ResultSetMonospacedWriter
public abstract class AbstractResultSetWriter<T> extends Object implements ResultSetWriter<T>
The Abstract ResultSet Writer.
-
Constructor Summary
Constructors Constructor Description AbstractResultSetWriter()Default Constructor. -
Method Summary
Modifier and Type Method Description intgetLimit()Getter for the limit.booleanisLimited()Checks if is limited.booleanisStringified()Checks if is stringified.voidsetLimit(int limit)Setter for the limit.voidsetLimited(boolean limited)Sets the limited.voidsetStringified(boolean stringify)Sets the stringified.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.dirigible.databases.processor.format.ResultSetWriter
write
-
Constructor Details
-
AbstractResultSetWriter
public AbstractResultSetWriter()Default Constructor.
-
-
Method Details
-
getLimit
public int getLimit()Getter for the limit.- Returns:
- the limit
-
setLimit
public void setLimit(int limit)Setter for the limit.- Parameters:
limit- the limit
-
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
-
isStringified
public boolean isStringified()Checks if is stringified.- Returns:
- true, if is stringified
-
setStringified
public void setStringified(boolean stringify)Sets the stringified.- Parameters:
stringify- the new stringified
-