Interface XlaConstants


  • public interface XlaConstants
    Defines numeric constants for the MapMessage __TYPE field values such as INSERT. Also defines String constants for names of the special MapMessage fields, such as TYPE_FIELD (so that the specific field names such as "__TYPE" need not be included in code).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ADD_COLUMNS
      Columns have been added.
      static java.lang.String AGING_DELETE_FIELD
      The name of the field that indicates if the delete is due to aging
      static java.lang.String CASCADING_DELETE_FIELD
      The name of the field that indicates if the delete is due to cascading
      static java.lang.String COMMIT_FIELD
      The name of the field that contains the commit -- last record in transaction flag.
      static int COMMIT_ONLY  
      static java.lang.String CONFIG_FILE_NAME
      Use this constant to set JMS/XLA file name.
      static java.lang.String CONTEXT_FIELD
      The name of the field that contains the application-specified context value (passed to a ttApplicationContextCall) as a byte array.
      static int CREATE_INDEX
      An index has been created.
      static int CREATE_SEQ
      A sequence has been created.
      static int CREATE_SYNONYM
      A synonym has been created.
      static int CREATE_TABLE
      A table has been created.
      static int CREATE_VIEW
      A view has been created.
      static int DELETE
      A row has been deleted.
      static int DROP_COLUMNS
      Columns have been dropped.
      static int DROP_INDEX
      An index has been dropped.
      static int DROP_SEQ
      A sequence has been dropped.
      static int DROP_SYNONYM
      A synonym has been dropped.
      static int DROP_TABLE
      A table has been dropped.
      static int DROP_VIEW
      A view has been dropped.
      static java.lang.String FIRST_FIELD
      The name of the field that contains the "first record in transaction" flag.
      static int INSERT
      A row/tuple has been inserted.
      static java.lang.String MTYP_FIELD
      The name of the field in a message that contains type information.
      static java.lang.String MVER_FIELD
      The name of the field in a message that contains LFN/LFO information.
      static java.lang.String NULLS_FIELD
      The name of the field that contains the list of fields that have null values.
      static java.lang.String REPL_FIELD
      The name of the field that contains the "applied via replication" flag.
      static java.lang.String TBLNAME_FIELD
      The name of the field in a message that contains table name information.
      static java.lang.String TBLOWNER_FIELD
      The name of the field in a message that contains table owner information.
      static int TRUNCATE
      Truncate table.
      static java.lang.String TYPE_FIELD
      The name of the field that contains the message type.
      static int UPDATE
      A row has been updated.
      static java.lang.String UPDATE_DESCRIPTOR_FIELD
      The name of the field that return ttXlaUpdateDesc_t as a byte array.
      static java.lang.String UPDATED_COLUMNS_FIELD
      The name of the field that contains the list of columns updated by an update statement.
    • Field Detail

      • CREATE_SYNONYM

        static final int CREATE_SYNONYM
        A synonym has been created.
        See Also:
        Constant Field Values
      • DROP_SYNONYM

        static final int DROP_SYNONYM
        A synonym has been dropped.
        See Also:
        Constant Field Values
      • TYPE_FIELD

        static final java.lang.String TYPE_FIELD
        The name of the field that contains the message type.
        See Also:
        Constant Field Values
      • COMMIT_FIELD

        static final java.lang.String COMMIT_FIELD
        The name of the field that contains the commit -- last record in transaction flag.
        See Also:
        Constant Field Values
      • FIRST_FIELD

        static final java.lang.String FIRST_FIELD
        The name of the field that contains the "first record in transaction" flag.
        See Also:
        Constant Field Values
      • REPL_FIELD

        static final java.lang.String REPL_FIELD
        The name of the field that contains the "applied via replication" flag.
        See Also:
        Constant Field Values
      • UPDATED_COLUMNS_FIELD

        static final java.lang.String UPDATED_COLUMNS_FIELD
        The name of the field that contains the list of columns updated by an update statement.
        See Also:
        Constant Field Values
      • AGING_DELETE_FIELD

        static final java.lang.String AGING_DELETE_FIELD
        The name of the field that indicates if the delete is due to aging
        See Also:
        Constant Field Values
      • CASCADING_DELETE_FIELD

        static final java.lang.String CASCADING_DELETE_FIELD
        The name of the field that indicates if the delete is due to cascading
        See Also:
        Constant Field Values
      • NULLS_FIELD

        static final java.lang.String NULLS_FIELD
        The name of the field that contains the list of fields that have null values.
        See Also:
        Constant Field Values
      • CONTEXT_FIELD

        static final java.lang.String CONTEXT_FIELD
        The name of the field that contains the application-specified context value (passed to a ttApplicationContextCall) as a byte array.
        See Also:
        Constant Field Values
      • MTYP_FIELD

        static final java.lang.String MTYP_FIELD
        The name of the field in a message that contains type information.
        See Also:
        Constant Field Values
      • MVER_FIELD

        static final java.lang.String MVER_FIELD
        The name of the field in a message that contains LFN/LFO information.
        See Also:
        Constant Field Values
      • TBLOWNER_FIELD

        static final java.lang.String TBLOWNER_FIELD
        The name of the field in a message that contains table owner information.
        See Also:
        Constant Field Values
      • TBLNAME_FIELD

        static final java.lang.String TBLNAME_FIELD
        The name of the field in a message that contains table name information.
        See Also:
        Constant Field Values
      • UPDATE_DESCRIPTOR_FIELD

        static final java.lang.String UPDATE_DESCRIPTOR_FIELD
        The name of the field that return ttXlaUpdateDesc_t as a byte array. This can then be used with TargetDataStore.apply(). This field is not automatically added to all JMS/XLA MapMessages.
        See Also:
        Constant Field Values
      • CONFIG_FILE_NAME

        static final java.lang.String CONFIG_FILE_NAME
        Use this constant to set JMS/XLA file name. Default = jmsxla.xml.
        See Also:
        Constant Field Values