Package datomic

Interface Log


  • public interface Log
    Implements the Log API.
    Since:
    0.8.4122
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Object DATA  
      static java.lang.Object T  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Iterable<java.util.Map> txRange​(java.lang.Object startT, java.lang.Object endT)
      Returns a range of transactions in log, starting at start, or from beginning if start is null, and ending before end, or through end of log if end is null.
    • Field Detail

      • T

        static final java.lang.Object T
      • DATA

        static final java.lang.Object DATA
    • Method Detail

      • txRange

        java.lang.Iterable<java.util.Map> txRange​(java.lang.Object startT,
                                                  java.lang.Object endT)
        Returns a range of transactions in log, starting at start, or from beginning if start is null, and ending before end, or through end of log if end is null. Each transaction is a map with the following keys:
        Transaction map keys
        T  the T point of the transaction
        DATA  a Collection of the Datoms asserted/retracted by the transaction
        Parameters:
        startT - a time-point or null
        endT - a time-point or null
        Returns:
        an Iterable of transaction maps occurring between start (inclusive) and end (exclusive)