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
FieldsModifier and TypeFieldDescriptionfinal Stringfinal Stringfinal Stringfinal Stringfinal Stringfinal Stringaslo named as pname, clientname or filename previouslyfinal Stringfinal Stringfinal Stringfinal Stringfinal StringFields inherited from class io.odysz.semantic.meta.SyntityMeta
device, io_oz_synuid, uidsFields inherited from class io.odysz.semantics.meta.TableMeta
conn, ddlSqlite, debug, ftypes, pk, tbl -
Constructor Summary
ConstructorsConstructorDescriptionExpDocTableMeta(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.QueryonselectSyntities(io.odysz.transact.sql.Query select) Entity meta's query event handler, while synchronizing.io.odysz.transact.sql.QueryselectSynPaths(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, updateEntNvsMethods inherited from class io.odysz.semantic.meta.SemanticTableMeta
loadSqlite, mapKey, setupSqlitables, setupSqliTablesMethods 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:SyntityMetaEntity 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:
onselectSyntitiesin classSyntityMeta- Parameters:
select- typically should already calledQuery.cols(String...), etc. alrady.- Returns:
- select
- Throws:
io.odysz.transact.x.TransException- See Also:
-
ExessionPersist.chpage()
-