public class DataCount extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LANGUAGE_DEFAULT
The default language to count Data in DataSet
that match the given expression.
|
Constructor and Description |
---|
DataCount()
Constructor
|
DataCount(org.osgi.framework.BundleContext context)
Constructor
|
public static String LANGUAGE_DEFAULT
public DataCount(org.osgi.framework.BundleContext context)
context
- OSGi BundleContextpublic DataCount()
public int count(List ds)
ds
- public int count(List dataset, String expression) throws CiliaException
dataset
- DataSet where it will search matching.expression
- expression used to search.CiliaException
- When ExpressionParser could not be created.Copyright © 2012-2013 Adele Team | LIG. All Rights Reserved.