object OrtMetadata
- Alphabetic
- By Inheritance
- OrtMetadata
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
AutoValue(tresql: String) extends OrtSimpleValue with Product with Serializable
Column value If tresql value is bind variable and column name of containing
Column value If tresql value is bind variable and column name of containing
Property
corresponds to current table's primary key column id or id ref expressions will appear in ort's generated insert or update statement. Otherwise behaves like
TresqlValue
Property }}} current table's primary key column id or id ref expressions will appear in ort's generated insert or update statement. Otherwise behaves like
TresqlValue
- tresql
tresql statement
-
case class
Filters(insert: Option[String] = None, update: Option[String] = None, delete: Option[String] = None) extends Product with Serializable
Horizontal authentication filters
Horizontal authentication filters
- insert
insert statement where clause
- update
update statement where clause
- delete
delete statement where clause
-
case class
KeyValue(whereTresql: String, valueTresql: OrtSimpleValue, updValueTresql: Option[OrtSimpleValue] = None) extends OrtValue with Product with Serializable
Column value
Column value
- whereTresql
key find tresql
- valueTresql
key value tresql
-
case class
LookupViewValue(propName: String, view: View) extends OrtValue with Product with Serializable
Column value
Column value
- propName
property name (from environment)
- view
child view
- sealed trait OrtSimpleValue extends OrtValue
- sealed trait OrtValue extends AnyRef
-
case class
PropPatterns(prop: Regex, tables: Regex, resolverProp: Regex, resolverExp: Regex) extends Product with Serializable
Patterns are for debugging purposes to create
Patterns are for debugging purposes to create
View
from
Mapusing
ortMetadata
method.
Children property format: [@db:]table[:ref]*key[,key]*[#table[:ref]*key[,key]*]*options [alias][|insertFilterTresql, deleteFilterTresql, updateFilterTresql] Options are to be specified in such order: insert, delete, update, i.e. '+-=' Examples: dept#car:deptnr:nr#tyres:carnr:nr dept[dname]#car:deptnr:nr#tyres:carnr:nr dept[+=] alias emp[ename][+-=] e|:deptno in currentUserDept(:current_user), null /* no statement */, e.deptno in currentUserDept(:current_user)
ortMetadata }}}
Children property format: [@db:]table[:ref]*key[,key]*[#table[:ref]*key[,key]*]*options [alias][|insertFilterTresql, deleteFilterTresql, updateFilterTresql] Options are to be specified in such order: insert, delete, update, i.e. '+-=' Examples: dept#car:deptnr:nr#tyres:carnr:nr dept[dname]#car:deptnr:nr#tyres:carnr:nr dept[+=] alias emp[ename][+-=] e|:deptno in currentUserDept(:current_user), null /* no statement */, e.deptno in currentUserDept(:current_user)
Map }}}
Children property format: [@db:]table[:ref]*key[,key]*[#table[:ref]*key[,key]*]*options [alias][|insertFilterTresql, deleteFilterTresql, updateFilterTresql] Options are to be specified in such order: insert, delete, update, i.e. '+-=' Examples: dept#car:deptnr:nr#tyres:carnr:nr dept[dname]#car:deptnr:nr#tyres:carnr:nr dept[+=] alias emp[ename][+-=] e|:deptno in currentUserDept(:current_user), null /* no statement */, e.deptno in currentUserDept(:current_user)
View }}}
Children property format: [@db:]table[:ref]*key[,key]*[#table[:ref]*key[,key]*]*options [alias][|insertFilterTresql, deleteFilterTresql, updateFilterTresql] Options are to be specified in such order: insert, delete, update, i.e. '+-=' Examples: dept#car:deptnr:nr#tyres:carnr:nr dept[dname]#car:deptnr:nr#tyres:carnr:nr dept[+=] alias emp[ename][+-=] e|:deptno in currentUserDept(:current_user), null /* no statement */, e.deptno in currentUserDept(:current_user)
-
case class
Property(col: String, value: OrtValue, optional: Boolean, forInsert: Boolean, forUpdate: Boolean) extends Product with Serializable
Saveable column.
Saveable column.
- col
Goes to dml column clause or child tresql alias
- value
Goes to dml values clause or column clause as child tresql
- optional
Indicates whether column value may be absent NOTE: if value is
TresqlValue
in tresql expression
- forInsert
Column value is to be included into insert statement if true
- forUpdate
Column value is to be included into update statement if true
-
case class
SaveOptions(doInsert: Boolean, doUpdate: Boolean, doDelete: Boolean) extends Product with Serializable
Save options
Save options
- doInsert
insert new children data
- doUpdate
update existing children data
- doDelete
delete absent children data
-
case class
SaveTo(table: String, refs: Set[String], key: Seq[String]) extends Product with Serializable
Table to save data to.
Table to save data to.
- table
table name
- refs
imported keys of table from parent or linked tables to be set
- key
column names uniquely identifying table record
-
case class
TresqlValue(tresql: String) extends OrtSimpleValue with Product with Serializable
Column value
Column value
- tresql
tresql statement
-
case class
View(saveTo: Seq[SaveTo], filters: Option[Filters], alias: String, properties: Seq[Property], db: String) extends Product with Serializable
Saveable view.
Saveable view.
- saveTo
destination tables. If first table has
refs
it indicates reference field to parent.
- filters
horizontal authentication filters
- alias
table alias in DML statement
- properties
saveable fields
- db
database name (can be null)
-
case class
ViewValue(view: View, saveOptions: SaveOptions) extends OrtValue with Product with Serializable
Column value
Column value
- view
child view
- saveOptions
saveable options [+-=]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Patterns: PropPatterns
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
ortMetadata(tables: String, saveableMap: Map[String, Any])(implicit resources: Resources): (View, SaveOptions)
This method is for debugging purposes.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated