Reorg modules; complete impls/tests
This commit is contained in:
13
src/core/src/main/kotlin/DocumentIndex.kt
Normal file
13
src/core/src/main/kotlin/DocumentIndex.kt
Normal file
@@ -0,0 +1,13 @@
|
||||
package solutions.bitbadger.documents
|
||||
|
||||
/**
|
||||
* The type of index to generate for the document
|
||||
*/
|
||||
enum class DocumentIndex(val sql: String) {
|
||||
|
||||
/** A GIN index with standard operations (all operators supported) */
|
||||
FULL(""),
|
||||
|
||||
/** A GIN index with JSONPath operations (optimized for @>, @?, @@ operators) */
|
||||
OPTIMIZED(" jsonb_path_ops")
|
||||
}
|
||||
Reference in New Issue
Block a user