| Modifier and Type | Field and Description |
|---|---|
Collection<Channel> |
ChannelQuery.Result.channels |
| Modifier and Type | Method and Description |
|---|---|
Channel |
Channel.Builder.build()
build a
Channel object using this builder. |
Channel |
ChannelFinderClientImpl.getChannel(String channelName)
Returns a channel that exactly matches the channelName
channelName.
|
Channel |
ChannelFinderClientComp.getChannel(String channelName) |
Channel |
ChannelFinderClient.getChannel(String channelName)
Returns a channel that exactly matches the channelName
channelName.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<Channel> |
ChannelUtil.filterbyElements(Collection<Channel> channels,
Collection<String> propNames,
Collection<String> tagNames)
Given a Collection of channels returns a new collection of channels
containing only those channels which have all the tags in the
tagNames
|
static Collection<Channel> |
ChannelUtil.filterbyProperties(Collection<Channel> channels,
Collection<String> propNames)
Given a Collection of channels returns a new collection of channels
containing only those channels which have all the properties in the
propNames
|
static Collection<Channel> |
ChannelUtil.filterbyTags(Collection<Channel> channels,
Collection<String> tagNames)
Given a Collection of channels returns a new collection of channels
containing only those channels which have all the tags in the
tagNames
|
Collection<Channel> |
ChannelFinderClientImpl.find(Map<String,String> map)
Query for channels based on the multiple criteria specified in the map.
|
Collection<Channel> |
ChannelFinderClientComp.find(Map<String,String> map) |
Collection<Channel> |
ChannelFinderClient.find(Map<String,String> map)
Query for channels based on the multiple criteria specified in the map.
|
Collection<Channel> |
ChannelFinderClientImpl.find(javax.ws.rs.core.MultivaluedMap<String,String> map)
uery for channels based on the multiple criteria specified in the map.
|
Collection<Channel> |
ChannelFinderClientComp.find(javax.ws.rs.core.MultivaluedMap<String,String> map) |
Collection<Channel> |
ChannelFinderClient.find(javax.ws.rs.core.MultivaluedMap<String,String> map)
uery for channels based on the multiple criteria specified in the map.
|
Collection<Channel> |
ChannelFinderClientImpl.find(String query)
Query for channels based on the Query string query example:
find("SR* Cell=1,2 Tags=GolderOrbit,myTag)
this will return all channels with names starting with SR AND have property Cell=1 OR 2 AND have tags goldenOrbit AND myTag. IMP: each criteria is logically AND'ed while multiple values for Properties are OR'ed. |
Collection<Channel> |
ChannelFinderClientComp.find(String query) |
Collection<Channel> |
ChannelFinderClient.find(String query)
Space seperated search criterias, patterns may include * and ? wildcards
channelNamePattern propertyName=valuePattern1,valuePattern2
Tags=tagNamePattern Each criteria is logically ANDed, || seperated values
are logically ORed
Query for channels based on the Query string query example:
find("SR* Cell=1,2 Tags=GolderOrbit,myTag)
this will return all channels with names starting with SR AND have property Cell=1 OR 2 AND have tags goldenOrbit AND myTag. IMP: each criteria is logically AND'ed while multiple values for Properties are OR'ed. |
Collection<Channel> |
ChannelFinderClientImpl.findByName(String pattern)
Search for channels who's name match the pattern pattern.
The pattern can contain wildcard char * or ?. |
Collection<Channel> |
ChannelFinderClientComp.findByName(String pattern) |
Collection<Channel> |
ChannelFinderClient.findByName(String pattern)
Search for channels who's name match the pattern pattern.
The pattern can contain wildcard char * or ?. |
Collection<Channel> |
ChannelFinderClientImpl.findByProperty(String property,
String... pattern)
Search for channels with properties who's Value match the pattern
pattern.
The pattern can contain wildcard char * or ?. |
Collection<Channel> |
ChannelFinderClientComp.findByProperty(String property,
String... pattern) |
Collection<Channel> |
ChannelFinderClient.findByProperty(String property,
String... pattern)
Search for channels with properties who's Value match the pattern
pattern.
The pattern can contain wildcard char * or ?. |
Collection<Channel> |
ChannelFinderClientImpl.findByTag(String pattern)
Search for channels with tags who's name match the pattern
pattern.
The pattern can contain wildcard char * or ?. |
Collection<Channel> |
ChannelFinderClientComp.findByTag(String pattern) |
Collection<Channel> |
ChannelFinderClient.findByTag(String pattern)
Search for channels with tags who's name match the pattern
pattern.
The pattern can contain wildcard char * or ?. |
Collection<Channel> |
ChannelFinderClientImpl.getAllChannels() |
Collection<Channel> |
ChannelFinderClientComp.getAllChannels() |
Collection<Channel> |
ChannelFinderClient.getAllChannels() |
static Collection<Channel> |
ChannelUtil.toChannels(Collection<Channel.Builder> channelBuilders)
Returns a list of
Channel built from the list of
Channel.Builders |
| Modifier and Type | Method and Description |
|---|---|
static Channel.Builder |
Channel.Builder.channel(Channel channel)
Create a channel builder initialized to a copy of the channel
|
static Property |
ChannelUtil.getProperty(Channel channel,
String propertyName)
Deprecated.
|
static Collection<String> |
ChannelUtil.getPropertyNames(Channel channel)
Return a list of property names associated with this channel
|
static Tag |
ChannelUtil.getTag(Channel channel,
String tagName)
Deprecated.
|
static Collection<String> |
ChannelUtil.getTagNames(Channel channel)
Return a list of tag names associated with this channel
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<Channel> |
ChannelUtil.filterbyElements(Collection<Channel> channels,
Collection<String> propNames,
Collection<String> tagNames)
Given a Collection of channels returns a new collection of channels
containing only those channels which have all the tags in the
tagNames
|
static Collection<Channel> |
ChannelUtil.filterbyProperties(Collection<Channel> channels,
Collection<String> propNames)
Given a Collection of channels returns a new collection of channels
containing only those channels which have all the properties in the
propNames
|
static Collection<Channel> |
ChannelUtil.filterbyTags(Collection<Channel> channels,
Collection<String> tagNames)
Given a Collection of channels returns a new collection of channels
containing only those channels which have all the tags in the
tagNames
|
static Collection<String> |
ChannelUtil.getAllTagNames(Collection<Channel> channels)
Return a union of tag names associated with channels
|
static Collection<String> |
ChannelUtil.getChannelNames(Collection<Channel> channels)
Returns all the channel Names in the given Collection of channels
|
static Collection<String> |
ChannelUtil.getPropertyNames(Collection<Channel> channels)
Return a union of property names associated with channels
|
static Collection<String> |
ChannelUtil.getPropValues(Collection<Channel> channels,
String propertyName) |
ChannelQuery.Builder |
ChannelQuery.Builder.result(Collection<Channel> channels,
Exception exception)
Pre-fills the cached result with the given channels and exception.
|
| Constructor and Description |
|---|
Result(Exception exception,
Collection<Channel> channels) |
Copyright © 2016. All Rights Reserved.