Skip to content

Commit

Permalink
Fixes to SplitStore.jsonIterator
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfrog26 committed Nov 1, 2024
1 parent 96c2654 commit 869f4a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ val developerURL: String = "https://matthicks.com"

name := projectName
ThisBuild / organization := org
ThisBuild / version := "0.14.6-SNAPSHOT"
ThisBuild / version := "0.14.6-SNAPSHOT2"
ThisBuild / scalaVersion := scala213
ThisBuild / crossScalaVersions := allScalaVersions
ThisBuild / scalacOptions ++= Seq("-unchecked", "-deprecation")
Expand Down
5 changes: 5 additions & 0 deletions core/src/main/scala/lightdb/store/split/SplitStore.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package lightdb.store.split

import fabric.Json
import lightdb.aggregate.AggregateQuery
import lightdb.collection.Collection
import lightdb.doc.{Document, DocumentModel}
Expand Down Expand Up @@ -54,6 +55,10 @@ case class SplitStore[Doc <: Document[Doc], Model <: DocumentModel[Doc]](storage
storage.iterator
}

override def jsonIterator(implicit transaction: Transaction[Doc]): Iterator[Json] = {
storage.jsonIterator
}

override def doSearch[V](query: Query[Doc, Model], conversion: Conversion[Doc, V])
(implicit transaction: Transaction[Doc]): SearchResults[Doc, Model, V] = {
searching.doSearch[V](query, conversion)
Expand Down

0 comments on commit 869f4a1

Please sign in to comment.