Show / Hide Table of Contents

Class DocumentQueryFactoryBase

Inheritance
System.Object
DocumentQueryFactoryBase
DocumentQueryFactory
DocumentQueryFactory<TDocument>
Namespace:InfinniPlatform.DocumentStorage.QueryFactories
Assembly:InfinniPlatform.DocumentStorage.HttpService.dll
Syntax
public abstract class DocumentQueryFactoryBase : object

Constructors

| Improve this Doc View Source

DocumentQueryFactoryBase(IQuerySyntaxTreeParser, IJsonObjectSerializer)

Declaration
protected DocumentQueryFactoryBase(IQuerySyntaxTreeParser syntaxTreeParser, IJsonObjectSerializer objectSerializer)
Parameters
Type Name Description
IQuerySyntaxTreeParser syntaxTreeParser
IJsonObjectSerializer objectSerializer

Methods

| Improve this Doc View Source

GetRequestParameter(IHttpRequest, String)

Declaration
protected static string GetRequestParameter(IHttpRequest request, string parameterName)
Parameters
Type Name Description
IHttpRequest request
System.String parameterName
Returns
Type Description
System.String
| Improve this Doc View Source

ParseCount(IHttpRequest)

Возвращает признак необходимости подсчета количества документов.

Declaration
protected static bool ParseCount(IHttpRequest request)
Parameters
Type Name Description
IHttpRequest request
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ParseFilter(IHttpRequest, String)

Возвращает функцию фильтрации документов.

Declaration
protected InvocationQuerySyntaxNode ParseFilter(IHttpRequest request, string documentIdKey)
Parameters
Type Name Description
IHttpRequest request
System.String documentIdKey
Returns
Type Description
InvocationQuerySyntaxNode
| Improve this Doc View Source

ParseOrder(IHttpRequest)

Возвращает набор функций сортировки документов.

Declaration
protected IEnumerable<InvocationQuerySyntaxNode> ParseOrder(IHttpRequest request)
Parameters
Type Name Description
IHttpRequest request
Returns
Type Description
IEnumerable<InvocationQuerySyntaxNode>
| Improve this Doc View Source

ParseSearch(IHttpRequest)

Возвращает строку полнотекстового поиска.

Declaration
protected static string ParseSearch(IHttpRequest request)
Parameters
Type Name Description
IHttpRequest request
Returns
Type Description
System.String
| Improve this Doc View Source

ParseSelect(IHttpRequest)

Возвращает набор функций выборки документов.

Declaration
protected IEnumerable<InvocationQuerySyntaxNode> ParseSelect(IHttpRequest request)
Parameters
Type Name Description
IHttpRequest request
Returns
Type Description
IEnumerable<InvocationQuerySyntaxNode>
| Improve this Doc View Source

ParseSkip(IHttpRequest)

Возвращает количество документов, которое нужно пропустить.

Declaration
protected static int ParseSkip(IHttpRequest request)
Parameters
Type Name Description
IHttpRequest request
Returns
Type Description
System.Int32
| Improve this Doc View Source

ParseTake(IHttpRequest)

Возвращает максимальное количество документов, которое нужно выбрать.

Declaration
protected static int ParseTake(IHttpRequest request)
Parameters
Type Name Description
IHttpRequest request
Returns
Type Description
System.Int32
| Improve this Doc View Source

ReadRequestForm<TDocument>(IHttpRequest, String)

Возвращает форму запроса.

Declaration
protected TDocument ReadRequestForm<TDocument>(IHttpRequest request, string documentFormKey)
Parameters
Type Name Description
IHttpRequest request
System.String documentFormKey
Returns
Type Description
TDocument
Type Parameters
Name Description
TDocument

Extension Methods

DynamicCollectionExtensions.GetItem(Object, Int32)
DynamicCollectionExtensions.SetItem(Object, Int32, Object)
DynamicCollectionExtensions.AddItem(Object, Object)
DynamicCollectionExtensions.InsertItem(Object, Int32, Object)
DynamicCollectionExtensions.RemoveItem(Object, Object)
DynamicCollectionExtensions.RemoveItemAt(Object, Int32)
DynamicCollectionExtensions.MoveItem(Object, Object, Int32)
DynamicObjectExtensions.TryGetPropertyValue(Object, String)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TryGetPropertyValueByPath(Object, String)
DynamicObjectExtensions.TrySetPropertyValueByPath(Object, String, Object)
ReflectionExtensions.IsInstanceOfType(Object, Type)
ReflectionExtensions.GetMemberValue(Object, String)
ReflectionExtensions.SetMemberValue(Object, String, Object)
ReflectionExtensions.InvokeMember(Object, String, Object[], out Object, Type[])
ReflectionExtensions.GetFieldValue(Object, FieldInfo)
ReflectionExtensions.SetFieldValue(Object, FieldInfo, Object)
ReflectionExtensions.GetPropertyValue(Object, PropertyInfo)
ReflectionExtensions.SetPropertyValue(Object, PropertyInfo, Object)
ReflectionExtensions.GetMethodDelegate(Object, MethodInfo)
ReflectionExtensions.GetEventDelegate(Object, EventInfo)
ReflectionExtensions.SetEventDelegate(Object, EventInfo, Object)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.