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

PairIntDateParser

class PairIntDateParser : KeyParser<PairIntDateKey> (source)

Example of KeyParser class, managing key: PairIntDateKey.

Constructors

<init>

Example of KeyParser class, managing key: PairIntDateKey.

PairIntDateParser()

Properties

keyColumnsDefinitionDB

It is the list of all the column names and their definition that identify a key.

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

Functions

eqDB

DB query for 'equal to' relationship.

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

geqDB

DB query for 'greater than or equal' relationship.

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

getMax

Returns the maximum value for the managed key type.

fun getMax(): PairIntDateKey

getMin

Returns the minimum value for the managed key type..

fun getMin(): PairIntDateKey

gtDB

DB query for 'greater than' relationship.

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

leqDB

DB query for 'less than or equal' relationship.

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

ltDB

DB query for 'less than' relationship.

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

parse

Parses a key given the corresponding serialized representation.

fun parse(s: String): PairIntDateKey

toDB

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

fun toDB(k: PairIntDateKey): String

toNodeTransfer

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

fun toNodeTransfer(rs: ResultSet): NodeTransfer