Schnittstelle IDataWriter


public interface IDataWriter
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Clear the destination source.
    void
    Close the data writer
    Create an empty data object for the source
    boolean
    Returns true, if the implementation needs transformation hints.
    void
    Always perform a rollback on close, since an unrecoverable error occurred.
    void
    setTransformationHints(de.uplanet.lucy.server.datatrans.IDataProvider p_sourceProvider, IDataSet p_sourceDataSet, de.uplanet.lucy.server.datatrans.configuration.ITransformerConfiguration p_transCfg)
    Sets the transformation hints
    void
    write(IDataObject p_object)
    Write the given data object to the destination
  • Methodendetails

    • createEmptyDataObject

      IDataObject createEmptyDataObject()
      Create an empty data object for the source
      Gibt zurück:
      new data object
    • clearData

      void clearData() throws Exception
      Clear the destination source.
      Löst aus:
      Exception - if any occurs
    • write

      void write(IDataObject p_object) throws Exception
      Write the given data object to the destination
      Parameter:
      p_object - data object
      Löst aus:
      Exception - if any occurs
    • isNeedingTransformationHints

      boolean isNeedingTransformationHints()
      Returns true, if the implementation needs transformation hints.
      Gibt zurück:
      true or false
    • setTransformationHints

      void setTransformationHints(de.uplanet.lucy.server.datatrans.IDataProvider p_sourceProvider, IDataSet p_sourceDataSet, de.uplanet.lucy.server.datatrans.configuration.ITransformerConfiguration p_transCfg) throws Exception
      Sets the transformation hints
      Parameter:
      p_sourceProvider - data source provider
      p_sourceDataSet - data set
      p_transCfg - transformer configuration
      Löst aus:
      Exception - if any occurs
    • close

      void close() throws Exception
      Close the data writer
      Löst aus:
      Exception - if any occurs
    • setRollbackOnly

      void setRollbackOnly()
      Always perform a rollback on close, since an unrecoverable error occurred.