GigaSpaces XAP 10.0.1 API

org.openspaces.extensions
Class QueryExtension

java.lang.Object
  extended by org.openspaces.extensions.QueryExtension

public class QueryExtension
extends Object

Since:
10.0
Author:
Niv Ingberg

Constructor Summary
QueryExtension()
           
 
Method Summary
static
<T extends Number>
T
average(GigaSpace gigaSpace, ISpaceQuery query, String path)
           
static SpaceEntriesAggregator average(String path)
           
static SpaceEntriesAggregator count()
           
static long count(GigaSpace gigaSpace, ISpaceQuery query, String path)
           
static SpaceEntriesAggregator count(String path)
           
static GroupByResult groupBy(GigaSpace gigaSpace, ISpaceQuery query, GroupByAggregator aggregator)
           
static
<T extends Comparable>
T
max(GigaSpace gigaSpace, ISpaceQuery query, String path)
           
static SpaceEntriesAggregator max(String path)
           
static
<T> T
maxEntry(GigaSpace gigaSpace, ISpaceQuery<T> query, String path)
           
static SpaceEntriesAggregator maxEntry(String path)
           
static
<T extends Comparable>
T
min(GigaSpace gigaSpace, ISpaceQuery query, String path)
           
static SpaceEntriesAggregator min(String path)
           
static
<T> T
minEntry(GigaSpace gigaSpace, ISpaceQuery<T> query, String path)
           
static SpaceEntriesAggregator minEntry(String path)
           
static
<T extends Number>
T
sum(GigaSpace gigaSpace, ISpaceQuery query, String path)
           
static SpaceEntriesAggregator sum(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryExtension

public QueryExtension()
Method Detail

count

public static long count(GigaSpace gigaSpace,
                         ISpaceQuery query,
                         String path)

sum

public static <T extends Number> T sum(GigaSpace gigaSpace,
                                       ISpaceQuery query,
                                       String path)

average

public static <T extends Number> T average(GigaSpace gigaSpace,
                                           ISpaceQuery query,
                                           String path)

max

public static <T extends Comparable> T max(GigaSpace gigaSpace,
                                           ISpaceQuery query,
                                           String path)

maxEntry

public static <T> T maxEntry(GigaSpace gigaSpace,
                             ISpaceQuery<T> query,
                             String path)

min

public static <T extends Comparable> T min(GigaSpace gigaSpace,
                                           ISpaceQuery query,
                                           String path)

minEntry

public static <T> T minEntry(GigaSpace gigaSpace,
                             ISpaceQuery<T> query,
                             String path)

groupBy

public static GroupByResult groupBy(GigaSpace gigaSpace,
                                    ISpaceQuery query,
                                    GroupByAggregator aggregator)

count

public static SpaceEntriesAggregator count()

count

public static SpaceEntriesAggregator count(String path)

sum

public static SpaceEntriesAggregator sum(String path)

average

public static SpaceEntriesAggregator average(String path)

max

public static SpaceEntriesAggregator max(String path)

maxEntry

public static SpaceEntriesAggregator maxEntry(String path)

min

public static SpaceEntriesAggregator min(String path)

minEntry

public static SpaceEntriesAggregator minEntry(String path)

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.