Hiperspace::SessionSpace

Header Image
Project:
SessionSpace : Public Class
Created: 20/07/2024 20:55:57
Modified: 20/07/2024 20:55:57
Project:
Advanced:
A hiperspace that bulk loads updated from a session<br/><br/><br/>
  • Attributes
  • Operations
  • Associations To
  • Advanced
  • Other Links
Attribute Scope Type
_sessionSpace Private HiperSpace
 
_durableSpace Private HiperSpace
 
_spaces Private HiperSpace
 
_roller Private Rollup
 
Operation
Public
Rollup (last: DateTime?, current: DateTime, ) : bool
Details:
Notes: Rollup function to filter content<br/><br/>@param ="final" true when this is the final version<br/>@returns <br/>
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
RollUpYears (n: int, ) : Rollup
Details:
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
RollUpMonths (n: int, ) : Rollup
Details:
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
RollUpDays (n: double, ) : Rollup
Details:
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
RollUpHours (n: double, ) : Rollup
Details:
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
RollUpMinutes (n: double, ) : Rollup
Details:
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
RollUpSeconds (n: double, ) : Rollup
Details:
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
SessionSpace (sessionSpace: HiperSpace, durableSpace: HiperSpace, ) :
Details:
Notes: Create a session space, that only writes additions to the backing store when the session is close<br/>
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
SessionSpace (sessionSpace: HiperSpace, durableSpace: HiperSpace, rollup: Rollup, ) :
Details:
Notes: Create a session space, that only writes additions to the backing store when the session is close, that <b>match</b> the rollup function<br/>
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Protected
Dispose (disposing: bool, ) : void
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
Abort () : void
Details:
Notes: Abort the session, and do not write changes<br/>
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
Bind (key: byte[], value: byte[], source: object?, ) : Result<byte[]>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
Bind (key: byte[], value: byte[], version: DateTime, source: object?, ) : Result<byte[]>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
BindAsync (key: byte[], value: byte[], source: object?, ) : Task<Result<byte[]>>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
BindAsync (key: byte[], value: byte[], version: DateTime, source: object?, ) : Task<Result<byte[]>>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
Find (begin: byte[], end: byte[], ) : IEnumerable<(byte[], byte[])>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
Find (begin: byte[], end: byte[], version: DateTime?, ) : IEnumerable<(byte[] Key, DateTime AsAt, byte[] Value)>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
FindAsync (begin: byte[], end: byte[], ) : Task<IEnumerable<(byte[], byte[])>>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
FindAsync (begin: byte[], end: byte[], version: DateTime?, ) : Task<IEnumerable<(byte[] Key, DateTime AsAt, byte[] Value)>>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
Nearest (begin: byte[], end: byte[], version: DateTime?, space: Vector, method: Vector.Method, limit: int, ) : IEnumerable<(byte[] Key, DateTime AsAt, byte[] Value, double Distance)>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
NearestAsync (begin: byte[], end: byte[], version: DateTime?, space: Vector, method: Vector.Method, limit: int, ) : Task<IEnumerable<(byte[] Key, DateTime AsAt, byte[] Value, double Distance)>>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
GetVersions (key: byte[], ) : IEnumerable<(byte[] value, DateTime version)>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
GetVersionsAsync (key: byte[], ) : Task<IEnumerable<(byte[] value, DateTime version)>>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Private
Yielder (values: IEnumerable<T>[], ) : IEnumerable<T>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
Get (key: byte[], ) : byte
Details:
[ Is static False. Is abstract False. Is return array True. Is query False. Is synchronized False. ]
Public
Get (key: byte[], version: DateTime?, ) : (byte[], DateTime)
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
GetAsync (key: byte[], ) : Task<byte[]>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
GetAsync (key: byte[], version: DateTime?, ) : Task<(byte[], DateTime)>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
Space () : IEnumerable<(byte[], byte[])>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
SpaceAsync () : Task<IEnumerable<(byte[], byte[])>>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
Zip (stream: Stream, level: CompressionLevel, ) : void
Details:
Notes: Transfer the content of the session space to a zip stream<br/>
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
ZipAsync (stream: Stream, level: CompressionLevel, ) : Task
Details:
Notes: Transfer the entire content of the space to a zip stream async<br/>
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Private
Compare (left: Span<byte>, right: Span<byte>, ) : int
Details:
[ Is static True. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Public
Delta (key: byte[], version: DateTime?, ) : IEnumerable<(byte[] Key, DateTime AsAt, byte[] Value)>
Details:
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
Element Source Role Target Role
HiperSpace
Class  
Name:  
 
Name: _durableSpace
 
Details:
 
HiperSpace
Class  
Name:  
 
Name: _spaces
 
Details:
 
HiperSpace
Class  
Name:  
 
Name: _sessionSpace
 
Details:
 
Property Value
isFinalSpecialization: 0
Object Type Connection Direction Notes
HiperSpace Class Generalization To