Apache Ignite.NET
Apache.Ignite.Core.Cache.Configuration.QueryEntity Class Reference

Query entity is a description of cache entry (composed of key and value) in a way of how it must be indexed and can be queried. More...

Public Member Functions

 QueryEntity ()
 Initializes a new instance of the QueryEntity class. More...
 
 QueryEntity (Type valueType)
 Initializes a new instance of the QueryEntity class. More...
 
 QueryEntity (Type keyType, Type valueType)
 Initializes a new instance of the QueryEntity class. More...
 

Properties

string KeyTypeName [get, set]
 Gets or sets key Java type name. More...
 
Type KeyType [get, set]
 Gets or sets the type of the key. More...
 
string ValueTypeName [get, set]
 Gets or sets value Java type name. More...
 
Type ValueType [get, set]
 Gets or sets the type of the value. More...
 
ICollection< QueryFieldFields [get, set]
 Gets or sets query fields, a map from field name to Java type name. The order of fields defines the order of columns returned by the 'select *' queries. More...
 
ICollection< QueryAliasAliases [get, set]
 Gets or sets field name aliases: mapping from full name in dot notation to an alias that will be used as SQL column name. Example: {"parent.name" -> "parentName"}. More...
 
ICollection< QueryIndexIndexes [get, set]
 Gets or sets the query indexes. More...
 

Detailed Description

Constructor & Destructor Documentation

Apache.Ignite.Core.Cache.Configuration.QueryEntity.QueryEntity ( )
Apache.Ignite.Core.Cache.Configuration.QueryEntity.QueryEntity ( Type  valueType)
Parameters
valueTypeType of the cache entry value.
Apache.Ignite.Core.Cache.Configuration.QueryEntity.QueryEntity ( Type  keyType,
Type  valueType 
)
Parameters
keyTypeType of the key.
valueTypeType of the value.

Property Documentation

ICollection<QueryAlias> Apache.Ignite.Core.Cache.Configuration.QueryEntity.Aliases
getset
ICollection<QueryField> Apache.Ignite.Core.Cache.Configuration.QueryEntity.Fields
getset
ICollection<QueryIndex> Apache.Ignite.Core.Cache.Configuration.QueryEntity.Indexes
getset
Type Apache.Ignite.Core.Cache.Configuration.QueryEntity.KeyType
getset

This is a shortcut for KeyTypeName. Getter will return null for non-primitive types.

Setting this property will overwrite Fields and Indexes according to QuerySqlFieldAttribute, if any.

string Apache.Ignite.Core.Cache.Configuration.QueryEntity.KeyTypeName
getset
Type Apache.Ignite.Core.Cache.Configuration.QueryEntity.ValueType
getset

This is a shortcut for ValueTypeName. Getter will return null for non-primitive types.

Setting this property will overwrite Fields and Indexes according to QuerySqlFieldAttribute, if any.

string Apache.Ignite.Core.Cache.Configuration.QueryEntity.ValueTypeName
getset