HS.BulkFHIR.Session.Link
persistent class HS.BulkFHIR.Session.Link extends %Library.Persistent
SQL Table Name: HS_BulkFHIR_Session.Link
Storage of the ndjson list with url with size, count, type for a sessionProperty Inventory
Method Inventory
Properties
property count as %Integer;
count of rows in the ndjson file
Property methods: countDisplayToLogical(), countGet(), countGetStored(), countIsValid(), countLogicalToDisplay(), countNormalize(), countSet()
property session as HS.BulkFHIR.Session [ Required ];
Session
Property methods: sessionGet(), sessionGetObject(), sessionGetObjectId(), sessionGetStored(), sessionGetSwizzled(), sessionIsValid(), sessionNewObject(), sessionSet(), sessionSetObject(), sessionSetObjectId(), sessionUnSwizzle()
property size as %Integer;
size of ndjson file number of bytes
Property methods: sizeDisplayToLogical(), sizeGet(), sizeGetStored(), sizeIsValid(), sizeLogicalToDisplay(), sizeNormalize(), sizeSet()
property type as %String;
Resource Type, or OperationOutcome for errors
Property methods: typeDisplayToLogical(), typeGet(), typeGetStored(), typeIsValid(), typeLogicalToDisplay(), typeLogicalToOdbc(), typeNormalize(), typeSet()
property url as %String (MAXLEN = 255);
url for ndjson file ie /fileJFHIR1/c066f5c0-22ed-11ed-9f71-3c22fb52d94b_Observation_0018.ndjson
Property methods: urlDisplayToLogical(), urlGet(), urlGetStored(), urlIsValid(), urlLogicalToDisplay(), urlLogicalToOdbc(), urlNormalize(), urlSet()
Methods
classmethod Add(pSession As HS.BulkFHIR.Session, pType As %String, pResourceCount As %Integer, pFileSize As %Integer, pURL As %String)
creates an instance of the class & associate with @pSession
Because every instance's url must be unique, this method will fail loudly if called by
parallel instances with the same pURL at the same time.
To support this case, this method will only run if it gets an exclusive lock derived from @Input pURL
Thus, we will ensure first caller will get to create the link instance first & subsequent callers will only update.
Indexes
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (SessionTypeIndex on session,type);
Index methods: SessionTypeIndexExists()
index (URLIndex on url) [Unique];
Index methods: URLIndexCheck(), URLIndexCheckUnique(), URLIndexDelete(), URLIndexExists(), URLIndexOpen(), URLIndexSQLCheckUnique(), URLIndexSQLExists(), URLIndexSQLFindPKeyByConstraint(), URLIndexSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InitExtentData()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
Storage
Storage Model: Storage (HS.BulkFHIR.Session.Link)
^HS.BulkFHIR.Session.LinkD(ID) |
= | %%CLASSNAME
type
count
size
url
session
|