C# Class Deveel.Data.Index.IndexRangeSet

Show file Open project: deveel/deveeldb Class Usage Examples

Public Methods

Method Description
IndexRangeSet ( ) : System
Intersect ( SqlExpressionType op, Field value ) : IndexRangeSet
ToArray ( ) : Deveel.Data.Index.IndexRange[]
Union ( IndexRangeSet unionTo ) : IndexRangeSet

Unions the current range set with the given range set.

Private Methods

Method Description
ChangeRangeSizeToEncompass ( IndexRange range1, IndexRange range2 ) : IndexRange

Alters the first range so it encompasses the second range.

This assumes that range1 intersects range2.

IndexRangeSet ( IEnumerable ranges ) : System
IntersectOn ( IndexRange range, SqlExpressionType op, Field value, bool nullCheck ) : IndexRange
IntersectedBy ( IndexRange range1, IndexRange range2 ) : bool

Returns true if the two SelectableRange ranges intersect.

Method Details

IndexRangeSet() public method

public IndexRangeSet ( ) : System
return System

Intersect() public method

public Intersect ( SqlExpressionType op, Field value ) : IndexRangeSet
op SqlExpressionType
value Field
return IndexRangeSet

ToArray() public method

public ToArray ( ) : Deveel.Data.Index.IndexRange[]
return Deveel.Data.Index.IndexRange[]

Union() public method

Unions the current range set with the given range set.
public Union ( IndexRangeSet unionTo ) : IndexRangeSet
unionTo IndexRangeSet
return IndexRangeSet