EnsLib.RecordMap.Batch
abstract class EnsLib.RecordMap.Batch extends %XML.Adaptor, Ens.Request
Base class for batches of homogenous RecordMap objects Note that the RecordMap framework will automatically define a relationship called Records to the Record type contained in the batch. The RECORDMAPGENERATED parameter should be set to 0 if this automatic update should not occur.Property Inventory
Method Inventory
Parameters
parameter RECORDMAPGENERATED = 1;
Parameter to indicate that the class has been generated by the RecordMap framework.
If this parameter is set to 0, the RecordMap framework will NOT update this class automatically,
and responsibility for any further changes will fall on the user.
parameter XMLIGNORENULL = 0;
Ensure RecordMap classes use the default XMLIGNORENULL behaviour for XML import and export.
This parameter is set to 1 in Ens.MessageBody.
Properties
property %Source as %String (MAXLEN = 2000, XMLPROJECTION = "NONE");
Name of source document or connection from which this batch was created.
Property methods: %SourceDisplayToLogical(), %SourceGet(), %SourceIsValid(), %SourceLogicalToDisplay(), %SourceLogicalToOdbc(), %SourceNormalize(), %SourceSet()
Methods
classmethod GetBatchHeader(pIOStream As %IO.DeviceStream, pTimeout As %Numeric = -1, Output pBatch As EnsLib.RecordMap.Batch, ByRef pLookAhead As %String) as %Status
Get the Batch Header from an incoming stream. This is only invoked once by the RecordMap
batch services when a new stream is passed in. Any extra data must be returned in pLookAhead
for use in parsing the first record.
classmethod GetBatchTrailer(pIOStream As %IO.DeviceStream, pTimeout As %Numeric = -1, Output pFound As %Boolean, pBatch As EnsLib.RecordMap.Batch, ByRef pLookAhead As %String) as %Status
Check for the Batch Trailer. The RecordMap batch services will invoke this method on every
record in a file after the Batch Header is found.
method OutputWholeBatch(pIOStream As %IO.DeviceStream, pRecordMap As %String, pUnSwizzleRecords As %Boolean = 1) as %Status
Write out the batch header, all the records in the batch, and then the batch trailer
method PutBatchHeader(pIOStream As %IO.DeviceStream) as %Status
Write out the Batch Header for the current Batch object
method PutBatchTrailer(pIOStream As %IO.DeviceStream) as %Status
Write out the Batch Trailer for the current Batch object
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %CompareContents()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawHTMLForm()
- %DrawHTMLTable()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetContentType()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %OnTimeout()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %ProcessSubmit()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %ShowContents()
- %ShowContentsHead()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- GetStatsDimension()
- NewResponse()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()