Package io.odysz.semantic.meta
Class ExpDocTableMeta
java.lang.Object
io.odysz.semantics.meta.TableMeta
io.odysz.semantic.meta.SemanticTableMeta
io.odysz.semantic.meta.SyntityMeta
io.odysz.semantic.meta.ExpDocTableMeta
- All Implemented Interfaces:
XMLTable.IMapValue
Experimental: document entity table meta.
TODO rename together with ExpDoctier, ExpSynodetier.
- Author:
- odys-z@github.com
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
final String
final String
final String
final String
final String
aslo named as pname, clientname or filename previouslyfinal String
final String
final String
final String
final String
Fields inherited from class io.odysz.semantic.meta.SyntityMeta
device, io_oz_synuid, uids
Fields inherited from class io.odysz.semantics.meta.TableMeta
conn, ddlSqlite, debug, ftypes, pk, tbl
-
Constructor Summary
ConstructorDescriptionExpDocTableMeta
(String conn) ExpDocTableMeta
(String tbl, String pk, String device, String conn) -
Method Summary
Modifier and TypeMethodDescriptionObject[]
Get fields from rs where cols is selcted with stamement generated byselectSynPaths(DATranscxt, String)
.io.odysz.transact.sql.Query
onselectSyntities
(io.odysz.transact.sql.Query select) Entity meta's query event handler, while synchronizing.io.odysz.transact.sql.Query
selectSynPaths
(DATranscxt st, String devid) Create select with cols can be understand bygetPathInfo(AnResultset)
.Methods inherited from class io.odysz.semantic.meta.SyntityMeta
autopk, autopk, err_requires_synuid, insertChallengeEnt, replace, synuid, updateEntNvs
Methods inherited from class io.odysz.semantic.meta.SemanticTableMeta
loadSqlite, mapKey, setupSqlitables, setupSqliTables
Methods inherited from class io.odysz.semantics.meta.TableMeta
clone, col, col, col, coltype, conn, conn, constrain, constrain, ftypes, isQuoted, typesInited
-
Field Details
-
fullpath
-
resname
aslo named as pname, clientname or filename previously -
uri
- See Also:
-
org
-
createDate
-
folder
-
mime
-
size
-
-
Constructor Details
-
Method Details
-
selectSynPaths
public io.odysz.transact.sql.Query selectSynPaths(DATranscxt st, String devid) throws io.odysz.transact.x.TransException Create select with cols can be understand bygetPathInfo(AnResultset)
.- Parameters:
st
-devid
-- Returns:
Query
- Throws:
io.odysz.transact.x.TransException
-
getPathInfo
Get fields from rs where cols is selcted with stamement generated byselectSynPaths(DATranscxt, String)
.- Parameters:
rs
-- Returns:
- strings
- Throws:
SQLException
-
onselectSyntities
public io.odysz.transact.sql.Query onselectSyntities(io.odysz.transact.sql.Query select) throws io.odysz.transact.x.TransException Description copied from class:SyntityMeta
Entity meta's query event handler, while synchronizing.
ExessionPersist
(orDBSyntableBuilder
) use this for loading entities in a syn-exchang page.Note: call select.cols(...) first.
A typical task finished here is to add an extFile() function object to the parameterselect
.T_DA_PhotoMet entm = new T_DA_PhotoMet(conn); // extends SyntityMeta AnResultset entities = ((AnResultset) entm .onselectSyntities(trb.select(tbl, "e").col("e.*"))
- Overrides:
onselectSyntities
in classSyntityMeta
- Parameters:
select
- typically should already calledQuery.cols(String...)
, etc. alrady.- Returns:
- select
- Throws:
io.odysz.transact.x.TransException
- See Also:
-
ExessionPersist.chpage()
-