C# Class SenseNet.Search.ContentQuery

Inheritance: IContentQuery
Mostrar archivo Open project: maxpavlov/FlexNet Class Usage Examples

Public Properties

Property Type Description
EmptyText string

Public Methods

Method Description
AddAutofilterToNodeQuery ( string originalText ) : string
AddClause ( string originalText, string addition, ChainOperator chainOp ) : string
AddClause ( Expression expression ) : void
AddClause ( Expression expression, ChainOperator chainOp ) : void
AddClause ( string text ) : void
AddClause ( string text, ChainOperator chainOp ) : void
AddFilterToNodeQuery ( string originalText, string filterText ) : string
AddLifespanFilterToNodeQuery ( string originalText, string filterText ) : string
CreateQuery ( string text ) : ContentQuery
CreateQuery ( string text, QuerySettings settings ) : ContentQuery
Execute ( ) : QueryResult
Execute ( ExecutionHint hint ) : QueryResult
ExecuteToIds ( ) : IEnumerable
ExecuteToIds ( ExecutionHint hint ) : IEnumerable
GetTraceInfo ( ) : string
Query ( string text ) : QueryResult
Query ( string text, QuerySettings settings ) : QueryResult

Private Methods

Method Description
GetAutofilterForNodeQuery ( ) : string
GetDefaultMaxResults ( ) : int
GetIdResults ( ExecutionHint hint ) : IEnumerable
GetIdResults ( ExecutionHint hint, int top, int skip, IEnumerable sort, bool enableAutofilters, bool enableLifespanFilter ) : IEnumerable
GetIdResultsWithLucQuery ( int top, int skip, IEnumerable sort, bool enableAutofilters, bool enableLifespanFilter ) : IEnumerable
GetIdResultsWithNodeQuery ( ExecutionHint hint, int top, int skip, IEnumerable sort, bool enableAutofilters, bool enableLifespanFilter ) : IEnumerable
GetLifespanFilterForNodeQuery ( ) : string
MoveSettingsToTheEnd ( string queryText ) : string

Moves .TOP and .SKIP clauses from inside to the end of the query

Method Details

AddAutofilterToNodeQuery() public static method

public static AddAutofilterToNodeQuery ( string originalText ) : string
originalText string
return string

AddClause() public static method

public static AddClause ( string originalText, string addition, ChainOperator chainOp ) : string
originalText string
addition string
chainOp ChainOperator
return string

AddClause() public method

public AddClause ( Expression expression ) : void
expression SenseNet.ContentRepository.Storage.Search.Expression
return void

AddClause() public method

public AddClause ( Expression expression, ChainOperator chainOp ) : void
expression SenseNet.ContentRepository.Storage.Search.Expression
chainOp ChainOperator
return void

AddClause() public method

public AddClause ( string text ) : void
text string
return void

AddClause() public method

public AddClause ( string text, ChainOperator chainOp ) : void
text string
chainOp ChainOperator
return void

AddFilterToNodeQuery() public static method

public static AddFilterToNodeQuery ( string originalText, string filterText ) : string
originalText string
filterText string
return string

AddLifespanFilterToNodeQuery() public static method

public static AddLifespanFilterToNodeQuery ( string originalText, string filterText ) : string
originalText string
filterText string
return string

CreateQuery() public static method

public static CreateQuery ( string text ) : ContentQuery
text string
return ContentQuery

CreateQuery() public static method

public static CreateQuery ( string text, QuerySettings settings ) : ContentQuery
text string
settings QuerySettings
return ContentQuery

Execute() public method

public Execute ( ) : QueryResult
return QueryResult

Execute() public method

public Execute ( ExecutionHint hint ) : QueryResult
hint ExecutionHint
return QueryResult

ExecuteToIds() public method

public ExecuteToIds ( ) : IEnumerable
return IEnumerable

ExecuteToIds() public method

public ExecuteToIds ( ExecutionHint hint ) : IEnumerable
hint ExecutionHint
return IEnumerable

GetTraceInfo() public method

public GetTraceInfo ( ) : string
return string

Query() public static method

public static Query ( string text ) : QueryResult
text string
return QueryResult

Query() public static method

public static Query ( string text, QuerySettings settings ) : QueryResult
text string
settings QuerySettings
return QueryResult

Property Details

EmptyText public_oe static_oe property

public static string EmptyText
return string