xtdb.indexer.live_index.clj Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtdb-core Show documentation
Show all versions of xtdb-core Show documentation
An open source document database with bitemporal graph queries
(ns xtdb.indexer.live-index
(:require [clojure.set :as set]
[clojure.tools.logging :as log]
[juxt.clojars-mirrors.integrant.core :as ig]
[xtdb.buffer-pool]
[xtdb.compactor :as c]
[xtdb.metadata :as meta]
[xtdb.metrics :as metrics]
[xtdb.time :as time]
[xtdb.trie :as trie]
[xtdb.types :as types]
[xtdb.util :as util]
[xtdb.vector.reader :as vr]
[xtdb.vector.writer :as vw])
(:import [clojure.lang MapEntry]
(java.lang AutoCloseable)
(java.time Duration)
(java.util ArrayList HashMap Map)
(java.util.concurrent StructuredTaskScope$ShutdownOnFailure StructuredTaskScope$Subtask)
(java.util.concurrent.locks StampedLock)
(java.util.function Function)
(org.apache.arrow.memory BufferAllocator)
(org.apache.arrow.vector.types.pojo Field)
(xtdb.api IndexerConfig TransactionKey)
xtdb.IBufferPool
xtdb.metadata.IMetadataManager
(xtdb.trie MemoryHashTrie)
(xtdb.util RefCounter RowCounter)
(xtdb.vector IRelationWriter IVectorWriter)
(xtdb.watermark ILiveIndexWatermark ILiveTableWatermark Watermark)))
#_{:clj-kondo/ignore [:clojure-lsp/unused-public-var]}
(definterface ILiveTableTx
(^xtdb.watermark.ILiveTableWatermark openWatermark [])
(^xtdb.vector.IVectorWriter docWriter [])
(^void logPut [^java.nio.ByteBuffer iid, ^long validFrom, ^long validTo, writeDocFn])
(^void logDelete [^java.nio.ByteBuffer iid, ^long validFrom, ^long validTo])
(^void logErase [^java.nio.ByteBuffer iid])
(^xtdb.indexer.live_index.ILiveTable commit [])
(^void abort []))
#_{:clj-kondo/ignore [:clojure-lsp/unused-public-var]}
(definterface ILiveTable
(^xtdb.indexer.live_index.ILiveTableTx startTx [^xtdb.api.TransactionKey txKey
^boolean newLiveTable])
(^xtdb.watermark.ILiveTableWatermark openWatermark [])
(^java.util.List #_
© 2015 - 2025 Weber Informatics LLC | Privacy Policy