public final class CkanQuery extends Object
CkanQuery.filter().byText("litigations").byGroupNames("justice")
Modifier and Type | Method and Description |
---|---|
CkanQuery |
byGroupNames(Iterable<String> groupNames)
Each filtered dataset must belong to all the given groups i.e.
|
CkanQuery |
byGroupNames(String... groupNames)
Each filtered dataset must belong to all the given groups i.e.
|
CkanQuery |
byLicenseId(String licenseId)
Each filtered dataset must have the given license
|
CkanQuery |
byOrganizationName(String organizationName)
Each filtered dataset must belong to the given organization
|
CkanQuery |
byTagNames(Iterable<String> tagNames)
Each filtered dataset must have all the given tags
|
CkanQuery |
byTagNames(String... tagNames)
Each filtered dataset must have all the given tags
|
CkanQuery |
byText(String text) |
static CkanQuery |
filter()
Factory method to start creating the query.
|
List<String> |
getGroupNames() |
List<String> |
getLicenseIds() |
List<String> |
getOrganizationNames() |
List<String> |
getTagNames() |
String |
getText() |
public CkanQuery byGroupNames(Iterable<String> groupNames)
public CkanQuery byGroupNames(String... groupNames)
public CkanQuery byOrganizationName(String organizationName)
organizationName
- i.e. "audit-commission",
"remploy-limited","royal-society"public CkanQuery byTagNames(Iterable<String> tagNames)
tagNames
- i.e. "Community health partnership", "youth-justice",
"trade-policy",public CkanQuery byTagNames(String... tagNames)
tagNames
- i.e. "Community health partnership", "youth-justice",
"trade-policy",public CkanQuery byLicenseId(String licenseId)
licenseId
- i.e. "cc-by", "odc-by"public static CkanQuery filter()
public String getText()
Copyright © 2015 Trento Rise. All rights reserved.