Show / Hide Table of Contents

# Class QueryIndexField

Represents an indexed field.

##### Inheritance

System.Object
QueryIndexField

##### Inherited Members

System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()

###### Namespace: Apache.Ignite.Core.Cache.Configuration

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public class QueryIndexField

### Constructors

#### QueryIndexField()

Initializes a new instance of the QueryIndexField class.

##### Declaration

    public QueryIndexField()

#### QueryIndexField(String)

Initializes a new instance of the QueryIndexField class.

##### Declaration

    public QueryIndexField(string name)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | name | The name.

#### QueryIndexField(String, Boolean)

Initializes a new instance of the QueryIndexField class.

##### Declaration

    public QueryIndexField(string name, bool isDescending)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | name | The name.
System.Boolean | isDescending | Sort direction.

### Properties

#### IsDescending

Gets a value indicating whether this index is descending. Default is false.

##### Declaration

    public bool IsDescending { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

#### Name

Gets the name.

##### Declaration

    public string Name { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |