scray.cassandra.tools.api.LuceneIndexStatementGenerator.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scray-cassandra Show documentation
Show all versions of scray-cassandra Show documentation
scray adapter to r/w Cassandra column families
package scray.cassandra.tools.api
import scray.cassandra.tools.types.LuceneColumnTypes.LuceneColumnType
import scray.querying.description.TableIdentifier
case class LucenIndexedColumn(name: String, dataType: LuceneColumnType, isSorted: Boolean)
trait LuceneIndexStatementGenerator {
def getIndexString(ti: TableIdentifier, column: List[LucenIndexedColumn], luceneVersion: Tuple3[Int, Int, Int]): Option[String]
}