Package com.ocient.cli.extract
Class ResultSetExtractor.ExtractTransformer
java.lang.Object
com.ocient.cli.extract.ResultSetExtractor.ExtractTransformer
- All Implemented Interfaces:
RowTransformer
- Enclosing class:
ResultSetExtractor
Implementation of
RowTransformer that sanitizes the column values, then formats the row
data into a flattened, string-based representation (e.g., CSV, TSV).-
Constructor Summary
ConstructorsConstructorDescriptionExtractTransformer(com.univocity.parsers.common.AbstractWriter<?> formatter) -
Method Summary
-
Constructor Details
-
ExtractTransformer
public ExtractTransformer(com.univocity.parsers.common.AbstractWriter<?> formatter)
-
-
Method Details
-
transform
Description copied from interface:RowTransformerApply the transformation to theRow.- Specified by:
transformin interfaceRowTransformer- Parameters:
row- TheRowto be transformed.- Returns:
- Returns a transformed Row object. The exact nature of the transformation and the
resultant format depends on the specific implementation. The transformation should maintain
data integrity while optimizing its representation for memory efficiency and performance.
Note: THIS FUNCTION IS NOT INTENDED TO BE THREAD SAFE.
-