docs / it.uniroma3.dbtree.spi.impl.keyParsers / DepartmentEmployeesParser

DepartmentEmployeesParser

class DepartmentEmployeesParser : KeyParserGroupBy<DepartmentEmployee> (source)

Example of KeyParserGroupBy class, managing a groupBy key: DepartmentEmployee. Group: the name of the department. Least significant key's component: Person.

Constructors

<init>

Example of KeyParserGroupBy class, managing a groupBy key: DepartmentEmployee. Group: the name of the department. Least significant key's component: Person.

DepartmentEmployeesParser()

Properties

leastSignificantDefinition

val leastSignificantDefinition: List<Pair<String, String>>

mostSignificantDefinition

val mostSignificantDefinition: List<Pair<String, String>>

Functions

bind

Returns a key K.

fun bind(x: List<Any>, y: List<Any>): DepartmentEmployee

eqDB

DB query for 'equal to' relationship.

fun eqDB(columnName: List<String>, k: DepartmentEmployee): String

geqDB

DB query for 'greater than or equal' relationship.

fun geqDB(columnName: List<String>, k: DepartmentEmployee): String

getMax

Returns the maximum value for the managed key type.

fun getMax(): DepartmentEmployee

getMin

Returns the minimum value for the managed key type..

fun getMin(): DepartmentEmployee

group

Returns the group of the passed composite key.

fun group(s: String): List<Any>

gtDB

DB query for 'greater than' relationship.

fun gtDB(columnName: List<String>, k: DepartmentEmployee): String

leqDB

DB query for 'less than or equal' relationship.

fun leqDB(columnName: List<String>, k: DepartmentEmployee): String

lsp_geqDB

DB query for 'greater than or equal' relationship.

fun lsp_geqDB(columnName: List<String>, y: List<Any>): String

lsp_gtDB

DB query for 'greater than' relationship.

fun lsp_gtDB(columnName: List<String>, y: List<Any>): String

lsp_leqDB

DB query for 'less than or equal' relationship.

fun lsp_leqDB(columnName: List<String>, y: List<Any>): String

lsp_ltDB

DB query for 'less than' relationship.

fun lsp_ltDB(columnName: List<String>, y: List<Any>): String

ltDB

DB query for 'less than' relationship.

fun ltDB(columnName: List<String>, k: DepartmentEmployee): String

most_neqDB

Let k_min = (x_min, y_min). Let k_max = (x_max, y_max).

fun most_neqDB(columnNameMin: List<String>, columnNameMax: List<String>): String

parse

Parses a key given the corresponding serialized representation.

fun parse(s: String): DepartmentEmployee

toDB

Returns the full representation of a key into the underlying database.

fun toDB(k: DepartmentEmployee): String

toNodeTransfer

Converts the ResultSet of a DB tuple into the corresponding NodeTransfer.

fun toNodeTransfer(rs: ResultSet): NodeTransfer