Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%Stream] >  [GlobalCharacter]
Private  Storage   

stream class %Stream.GlobalCharacter extends TmpCharacter

Stream class that stores character data in global nodes.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
7


Summary

Properties
%Location AtEnd Id LastModified LineTerminator
RemoveOnClose Size

Methods
%%OIDGet %AddToSaveSet %BindExport %BuildObjectGraph
%CheckUnique %ClassIsLatestVersion %ClassName %Close
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %DowngradeConcurrency
%Exists %ExistsId %Extends %GetParameter
%GetSwizzleObject %Id %IncrementCount %IsA
%IsModified %IsNull %KillExtent %LOBPrefetch
%LocationSet %LockStream %New %NormalizeObject
%ObjectIsNull %ObjectModified %ObjectSize %Oid
%Open %OpenId %OriginalNamespace %PackageName
%ReleaseLock %Reload %RemoveFromSaveSet %RollBack
%Save %SerializeObject %SetModified %UnlockStream
%UpgradeConcurrency %ValidateObject Clear CopyFrom
CopyFromAndSave FindAt Flush GetStreamId
InputFromDevice IsCharacter IsNull LastModifiedGet
MoveTo MoveToEnd OutputToDevice OutputToDeviceAt
Read ReadLine ReadLineIntoStream ReadSQL
Rewind SerializeToSyncSet SizeGet StreamOIDIsNull
SyncStreamIn Write WriteLine

Subclasses
%Stream.GblChrCompress %Stream.GlobalBinary %Stream.GlobalCharacterSearchable
%Stream.MethodGenerator

Methods

• private classmethod %DeleteData(streamvalue As %String, concurrency As %Integer) as %Status
• private classmethod %LOBPrefetchInternal(soid As %ObjectIdentity, prefetchsize As %Integer, ByRef data As %String) as %Integer
• private method %LoadData(id As %String) as %Status
• private classmethod %ObjectSizeInternal(soid As %ObjectIdentity) as %Integer
Return the size of the stream pointed to by soid
• private method %SaveData(ByRef sid As %String) as %Status
• method CopyFromAndSave(source As %Stream.Object) as %Status
Copy the stream from source into the current stream ignoring anything already in the current stream and save the result to the permanent location. This is used to optimise the copying of say a %GlobalCharacterStream to another %GlobalCharacterStream to avoid copying into temporary storage first and then moving this to the permanent storage when SaveStream is called.

Note that any locking or transaction handling must be done by the caller.

• private method SetupTmpGbl()
Setup the TempGbl location of where we will write the temp stream to


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.