telepath / com.github.giedomak.telepath.datamodels / Query

Query

data class Query (source)

Query model which is responsible for the-life-of-a-query.

Constructors

<init>

Query(telepath: Telepath, input: String)

Query model which is responsible for the-life-of-a-query.

Properties

flattenedLogicalPlan

var flattenedLogicalPlan: LogicalPlan?

input

val input: String

The input as given by the user.

physicalPlan

var physicalPlan: PhysicalPlan?

telepath

val telepath: Telepath

Reference to the Telepath module.

Functions

evaluate

fun evaluate(): Long

flattenLogicalPlan

fun flattenLogicalPlan(): Unit

generatePhysicalPlan

fun generatePhysicalPlan(): Long

parseInput

fun parseInput(): Unit

printCount

fun printCount(force: Boolean = false): Unit

printEstimate

fun printEstimate(): Unit

printResults

fun printResults(maxSize: Long = 10): Unit