Class MergeConstantAction

    • Field Detail

      • FIRST_VERSION

        private static final int FIRST_VERSION
        Serial version produced by the serialver utility. Needed in order to make serialization work reliably across different compilers.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MergeConstantAction

        public MergeConstantAction()
        0-arg constructor needed by Formatable machinery
      • MergeConstantAction

        public MergeConstantAction​(ConstantAction[] matchingClauses)
        Construct from thin air.
        Parameters:
        matchingClauses - Constant actions for WHEN [ NOT ] MATCHED clauses.
    • Method Detail

      • matchingClauseCount

        public int matchingClauseCount()
        Get the number of matching clauses
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Read this object from a stream of stored objects.
        Specified by:
        readExternal in interface java.io.Externalizable
        Parameters:
        in - read this.
        Throws:
        java.io.IOException - thrown on error
        java.lang.ClassNotFoundException - thrown on error
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Write this object to a stream of stored objects.
        Specified by:
        writeExternal in interface java.io.Externalizable
        Parameters:
        out - write bytes here.
        Throws:
        java.io.IOException - thrown on error
      • getTypeFormatId

        public int getTypeFormatId()
        Get the formatID which corresponds to this class.
        Specified by:
        getTypeFormatId in interface TypedFormat
        Returns:
        the formatID of this class