Class TableDataConglomerate.NameSpaceJournal

  • Enclosing class:
    TableDataConglomerate

    private static class TableDataConglomerate.NameSpaceJournal
    extends java.lang.Object
    A journal for handling namespace clashes between transactions. For example, we would need to generate a conflict if two concurrent transactions were to drop the same table, or if a procedure and a table with the same name were generated in concurrent transactions.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) long commit_id
      The commit_id of this journal entry.
      (package private) java.util.ArrayList created_names
      The list of names created in this journal.
      (package private) java.util.ArrayList dropped_names
      The list of names dropped in this journal.
    • Constructor Summary

      Constructors 
      Constructor Description
      NameSpaceJournal​(long commit_id, java.util.ArrayList created_names, java.util.ArrayList dropped_names)
      Constructs the journal.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • commit_id

        long commit_id
        The commit_id of this journal entry.
      • created_names

        java.util.ArrayList created_names
        The list of names created in this journal.
      • dropped_names

        java.util.ArrayList dropped_names
        The list of names dropped in this journal.
    • Constructor Detail

      • NameSpaceJournal

        NameSpaceJournal​(long commit_id,
                         java.util.ArrayList created_names,
                         java.util.ArrayList dropped_names)
        Constructs the journal.