deduper / org.bradfordmiller.deduper.config / SourceJndi

SourceJndi

data class SourceJndi

A source jndi entity

Constructors

<init>

A source jndi entity

SourceJndi(jndiName: String, context: String, tableQuery: String, hashKeys: MutableSet<String> = mutableSetOf())

Properties

context

the context name for the jndi name, which basically maps to a properties file of the same name IE if context = "test" then there should be a corresponding test.properties file present in the org.osjava.sj.root defined directory in jndi.properties. In the above example, if the context = "test" and org.osjava.sj.root = src/main/resources/jndi then the jndi name will be searched for in src/main/resources/jndi/test.properties

val context: String

hashKeys

a list of column names which will be used to hash the values returned by tableQuery

val hashKeys: MutableSet<String>

jndiName

the jndi name defined in the simple-jndi properties file

val jndiName: String

tableQuery

can either be a table (which 'SELECT *' will be run against) or a specific 'SELECT' SQL query

val tableQuery: String