Properties Class

Definition

Streamable extension methods.

public static class Properties
type Properties = class
Public Module Properties
Inheritance
Properties

Methods

EqualityComparer<TKey,TPayload,T>(IPropertySetter<TKey,TPayload>, Expression<Func<TPayload,T>>, Expression<Func<T,T,Boolean>>, Expression<Func<T,Int32>>)

Sets a selected-substream equality comparer for the stream. Multiple of these can be set for various selectors. This comparer is an efficient comparer optimized for this data instance, and does not apply to other streams with the same schema.

EqualityComparer<TKey,TPayload,T>(IPropertySetter<TKey,TPayload>, Expression<Func<TPayload,T>>, IEqualityComparerExpression<T>)

Sets a selected-substream equality comparer for the stream. Multiple of these can be set for various selectors. This comparer is an efficient comparer optimized for this data instance, and does not apply to other streams with the same schema. For a schema-level equality comparer, implement the interface IEqualityComparerExpression.

GetProperties<TKey,TPayload>(IStreamable<TKey,TPayload>, StreamProperties<TKey,TPayload>)

Sets the out parameter (properties) to the current properties of the stream

IsConstantDuration<TKey,TPayload>(IPropertySetter<TKey,TPayload>, Boolean, Nullable<Int64>)

Set a property of whether events in the stream all have constant duration, and optionally, the width of the constant duration (null if not known).

IsConstantHop<TKey,TPayload>(IPropertySetter<TKey,TPayload>, Boolean, Nullable<Int64>, Nullable<Int64>)

Set a property of whether events in the stream all have constant hop, and optionally, the period and offset of the constant hop (null if not known).

IsEventOverlappingFree<TKey,TPayload>(IPropertySetter<TKey,TPayload>, Boolean)

Set a property of whether or not the stream is devoid of simultaneity w.r.t. sync-times.

IsIntervalFree<TKey,TPayload>(IPropertySetter<TKey,TPayload>, Boolean)

Set a property of whether or not the stream is devoid of intervals.

IsSnapshotSorted<TKey,TPayload,T>(IPropertySetter<TKey,TPayload>, Boolean, Expression<Func<TPayload,T>>, Nullable<Guid>)

Sets a property whether or nor the stream is sorted per snapshot. If sorted, specifies the sort fields associated with the stream (entire payload by default)

IsSnapshotSorted<TKey,TPayload>(IPropertySetter<TKey,TPayload>, Boolean, Nullable<Guid>)

Sets a property whether or nor the stream is sorted (by entire payload) per snapshot

IsSyncTimeSimultaneityFree<TKey,TPayload>(IPropertySetter<TKey,TPayload>, Boolean)

Set a property of whether or not the stream is devoid of simultaneity w.r.t. sync-times.

KeyEqualityComparer<TKey,TPayload>(IPropertySetter<TKey,TPayload>, IEqualityComparerExpression<TKey>)

Sets the KeyEqualityComparer property associated with the stream. This comparer is an efficient comparer optimized for this data instance, and does not apply to other streams with the same schema. For a schema-level equality comparer, implement the interface IEqualityComparerExpression.

PayloadComparer<TKey,TPayload>(IPropertySetter<TKey,TPayload>, Expression<Comparison<TPayload>>)

Sets the PayloadComparer property associated with the stream. This comparer is an efficient comparer optimized for this data instance, and does not apply to other streams with the same schema. For a schema-level comparer, implement the interface IComparerExpression.

PayloadComparer<TKey,TPayload>(IPropertySetter<TKey,TPayload>, IComparerExpression<TPayload>)

Sets the PayloadComparer property associated with the stream. This comparer is an efficient comparer optimized for this data instance, and does not apply to other streams with the same schema. For a schema-level comparer, implement the interface IComparerExpression.

PayloadEqualityComparer<TKey,TPayload>(IPropertySetter<TKey,TPayload>, Expression<Func<TPayload,TPayload,Boolean>>, Expression<Func<TPayload,Int32>>)

Sets the PayloadEqualityComparer property associated with the stream. This comparer is an efficient comparer optimized for this data instance, and does not apply to other streams with the same schema. For a schema-level equality comparer, implement the interface IEqualityComparerExpression.

PayloadEqualityComparer<TKey,TPayload>(IPropertySetter<TKey,TPayload>, IEqualityComparerExpression<TPayload>)

Sets the PayloadEqualityComparer property associated with the stream. This comparer is an efficient comparer optimized for this data instance, and does not apply to other streams with the same schema. For a schema-level equality comparer, implement the interface IEqualityComparerExpression.

SetProperties<TKey,TPayload>(IStreamable<TKey,TPayload>, StreamProperties<TKey,TPayload>)

Sets the current stream properties to the provided argument (newProperties)

SetProperty<TKey,TPayload>(IStreamable<TKey,TPayload>)

Enter into a mode where you can set a property for the stream.

Applies to