Specifies that the annotated property will be used as a fifo grouping index.
Defines a space FIFO grouping index.
Can be declared on several properties in a class in order to assist in efficient traversal.
If defined, there must be a property in the class, marked as SpaceFifoGroupingPropertyAttribute
A compound index that contains this FIFO grouping index and the FIFO grouping property will be created.
FIFO grouping index can be declared on a nested property, by specifying a path as done for ISpaceIndex.
For example:
1. To index the 'socialSecurity' property
2. To index 'personalInfo.name':
CopyC#
[SpaceFifoGroupingIndex] public long SocialSecurity() { get; set; }
CopyC#
[SpaceFifoGroupingIndex(path = "name")] public long SocialSecurity() { get; set; }
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public class SpaceFifoGroupingIndexAttribute : Attribute
Public Class SpaceFifoGroupingIndexAttribute _ Inherits Attribute
public ref class SpaceFifoGroupingIndexAttribute : public Attribute
public class SpaceFifoGroupingIndexAttribute extends Attribute
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
SpaceFifoGroupingIndexAttribute()()()() | Initializes a new instance of the SpaceFifoGroupingIndexAttribute class | |
Equals(Object) |
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.) | |
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode()()()() |
Returns the hash code for this instance.
(Inherited from Attribute.) | |
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
IsDefaultAttribute()()()() |
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.) | |
Match(Object) |
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.) | |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Path |
Gets or sets a fifo grouping index path.
The path specifies which property path is used for fifo grouping index.
If none is defined - the property itself is used for fifo grouping index.
| |
ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) | |
TypeId |
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.) |
Inheritance Hierarchy
Object | ||
Attribute | ||
SpaceFifoGroupingIndexAttribute |