Class TableTransactionIndex

java.lang.Object
org.teamapps.universaldb.index.TableTransactionIndex

public class TableTransactionIndex
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    TableTransactionIndex​(java.io.File path, java.lang.String tableName)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    void drop()  
    java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> readRecordTransactions​(int id)  
    void writeTransactionRecord​(TransactionRecord transactionRecord)  

    Methods inherited from class java.lang.Object

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

    • TableTransactionIndex

      public TableTransactionIndex​(java.io.File path, java.lang.String tableName) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • writeTransactionRecord

      public void writeTransactionRecord​(TransactionRecord transactionRecord) throws java.io.IOException
      Throws:
      java.io.IOException
    • readRecordTransactions

      public java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> readRecordTransactions​(int id) throws java.io.IOException
      Throws:
      java.io.IOException
    • close

      public void close()
    • drop

      public void drop()