Class RDBPrintTask

java.lang.Object
org.openforis.concurrency.Worker
org.openforis.concurrency.Task
org.openforis.collect.relational.print.RDBPrintTask
Direct Known Subclasses:
RDBPrintJob.RecordDataPrintTask, RDBPrintJob.ReferenceDataPrintTask, RDBSchemaPrintTask

public abstract class RDBPrintTask extends org.openforis.concurrency.Task
Author:
S. Ricci
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.openforis.concurrency.Worker

    org.openforis.concurrency.Worker.Status
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
     
    protected Writer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected boolean
     
    void
    setDateTimeFormat(String dateTimeFormat)
     
    void
     
    void
     
    void
    setWriter(Writer writer)
     
    protected void
    writeBatchInsert(Table<?> table, DataExtractor extractor)
     

    Methods inherited from class org.openforis.concurrency.Task

    beforeExecuteInternal, countTotalItems, getProcessedItems, getProgressPercent, getRemainingItems, getSkippedItems, getTotalItems, incrementProcessedItems, incrementSkippedItems, setProcessedItems, setTotalItems

    Methods inherited from class org.openforis.concurrency.Worker

    abort, addStatusChangeListener, afterExecute, afterExecuteInternal, beforeExecute, changeStatus, destroy, execute, getDuration, getEndTime, getErrorMessage, getErrorMessageArgs, getId, getLastException, getName, getResult, getStartTime, getStatus, getWeight, initialize, initializeInternalVariables, isAborted, isCompleted, isEnded, isFailed, isPending, isRunning, logDebug, logError, logInfo, logWarning, notifyAllStatusChangeListeners, onAborted, onCompleted, onEnd, onFailed, prepareResult, release, removeStatusChangeListener, run, setErrorMessage, setErrorMessageArgs, setLastException, setResult, setWeight, validateInput, waitFor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • RDBPrintTask

      public RDBPrintTask()
  • Method Details

    • createInternalVariables

      protected void createInternalVariables() throws Throwable
      Overrides:
      createInternalVariables in class org.openforis.concurrency.Worker
      Throws:
      Throwable
    • writeBatchInsert

      protected void writeBatchInsert(Table<?> table, DataExtractor extractor) throws IOException
      Throws:
      IOException
    • isSchemaless

      protected boolean isSchemaless()
    • setWriter

      public void setWriter(Writer writer)
    • setSchema

      public void setSchema(RelationalSchema schema)
    • setDialect

      public void setDialect(RDBPrintJob.RdbDialect dialect)
    • setDateTimeFormat

      public void setDateTimeFormat(String dateTimeFormat)