Show / Hide Table of Contents

# Class CacheQueryReadEvent

Cache query read event.

##### Inheritance

System.Object
EventBase
CacheQueryReadEvent

##### Implements

IEvent
System.IEquatable<EventBase>

##### Inherited Members

EventBase.Id
EventBase.LocalOrder
EventBase.Node
EventBase.Message
EventBase.Type
EventBase.Name
EventBase.Timestamp
EventBase.Equals(EventBase)
EventBase.Equals(Object)
EventBase.GetHashCode()
EventBase.ToString()
EventBase.ReadNode(IBinaryRawReader)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()

###### Namespace: Apache.Ignite.Core.Events

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

##### Syntax

    public sealed class CacheQueryReadEvent : EventBase, IEvent, IEquatable<EventBase>

### Properties

#### CacheName

Gets cache name on which query was executed.

##### Declaration

    public string CacheName { get; }

##### Property Value

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

#### ClassName

Gets queried class name. Applicable for SQL and full text queries.

##### Declaration

    public string ClassName { get; }

##### Property Value

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

#### Clause

Gets query clause. Applicable for SQL, SQL fields and full text queries.

##### Declaration

    public string Clause { get; }

##### Property Value

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

#### Key

Gets read entry key.

##### Declaration

    public object Key { get; }

##### Property Value

Type | Description
--- | ---
System.Object |

#### OldValue

Gets read entry old value (applicable for continuous queries).

##### Declaration

    public object OldValue { get; }

##### Property Value

Type | Description
--- | ---
System.Object |

#### QueryType

Gets query type.

##### Declaration

    public string QueryType { get; }

##### Property Value

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

#### Row

Gets read results set row.

##### Declaration

    public object Row { get; }

##### Property Value

Type | Description
--- | ---
System.Object |

#### SubjectId

Gets security subject ID.

##### Declaration

    public Guid? SubjectId { get; }

##### Property Value

Type | Description
--- | ---
System.Nullable<System.Guid> |

#### TaskName

Gets the name of the task that executed the query (if any).

##### Declaration

    public string TaskName { get; }

##### Property Value

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

#### Value

Gets read entry value.

##### Declaration

    public object Value { get; }

##### Property Value

Type | Description
--- | ---
System.Object |

### Methods

#### ToShortString()

Gets shortened version of ToString result.

##### Declaration

    public override string ToShortString()

##### Returns

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

##### Overrides

EventBase.ToShortString()

### Implements

IEvent
System.IEquatable<T>