|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PObject | |
---|---|
org.apache.crunch | Client-facing API and core abstractions. |
org.apache.crunch.contrib.bloomfilter | Support for creating Bloom Filters. |
org.apache.crunch.lib | Joining, sorting, aggregating, and other commonly used functionality. |
Uses of PObject in org.apache.crunch |
---|
Methods in org.apache.crunch that return PObject | |
---|---|
PObject<Collection<S>> |
PCollection.asCollection()
|
PObject<Map<K,V>> |
PTable.asMap()
Returns a PObject encapsulating a Map made up of the keys and values in this
PTable . |
PObject<Long> |
PCollection.length()
Returns the number of elements represented by this PCollection . |
PObject<S> |
PCollection.max()
Returns a PObject of the maximum element of this instance. |
PObject<S> |
PCollection.min()
Returns a PObject of the minimum element of this instance. |
Uses of PObject in org.apache.crunch.contrib.bloomfilter |
---|
Methods in org.apache.crunch.contrib.bloomfilter that return PObject | ||
---|---|---|
static PObject<Map<String,org.apache.hadoop.util.bloom.BloomFilter>> |
BloomFilterFactory.createFilter(org.apache.hadoop.fs.Path inputPath,
BloomFilterFn<String> filterFn)
The method will take an input path and generates BloomFilters for all text files in that path. |
|
static
|
BloomFilterFactory.createFilter(PCollection<T> collection,
BloomFilterFn<T> filterFn)
|
Uses of PObject in org.apache.crunch.lib |
---|
Methods in org.apache.crunch.lib that return PObject | ||
---|---|---|
static
|
Aggregate.length(PCollection<S> collect)
Returns the number of elements in the provided PCollection. |
|
static
|
Aggregate.max(PCollection<S> collect)
Returns the largest numerical element from the input collection. |
|
static
|
Aggregate.min(PCollection<S> collect)
Returns the smallest numerical element from the input collection. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |