K - key type for this tableV - value type for this tablepublic interface LTable<K,V> extends LCollection<Pair<K,V>>
PTable interface, allowing distributed operations to be expressed in
 terms of lambda expressions and method references, instead of creating a new class implementation for each operation.| Modifier and Type | Method and Description | 
|---|---|
| default <U> LTable<K,Pair<Collection<V>,Collection<U>>> | cogroup(LTable<K,U> other)Cogroup this table with another  LTablewith the same key type, collecting the set of values from
 each side. | 
| default LTable<K,V> | filter(SPredicate<Pair<K,V>> predicate)Filter the rows of the table using the supplied predicate. | 
| default LTable<K,V> | filterByKey(SPredicate<K> predicate)Filter the rows of the table using the supplied predicate applied to the key part of each record. | 
| default LTable<K,V> | filterByValue(SPredicate<V> predicate)Filter the rows of the table using the supplied predicate applied to the value part of each record. | 
| default LGroupedTable<K,V> | groupByKey()Group this table by key to yield a  LGroupedTable | 
| default LGroupedTable<K,V> | groupByKey(GroupingOptions opts)Group this table by key to yield a  LGroupedTable | 
| default LGroupedTable<K,V> | groupByKey(int numReducers)Group this table by key to yield a  LGroupedTable | 
| default LTable<K,V> | increment(Enum<?> counter)Increment a counter for every element in the collection | 
| default LTable<K,V> | increment(String counterGroup,
         String counterName)Increment a counter for every element in the collection | 
| default LTable<K,V> | incrementIf(Enum<?> counter,
           SPredicate<Pair<K,V>> condition)Increment a counter for every element satisfying the conditional predicate supplied. | 
| default LTable<K,V> | incrementIf(String counterGroup,
           String counterName,
           SPredicate<Pair<K,V>> condition)Increment a counter for every element satisfying the conditional predicate supplied. | 
| default <U> LTable<K,Pair<V,U>> | join(LTable<K,U> other)Inner join this table to another  LTablewhich has the same key type using a reduce-side join | 
| default <U> LTable<K,Pair<V,U>> | join(LTable<K,U> other,
    JoinType joinType)Join this table to another  LTablewhich has the same key type using the provideJoinTypeand
 theDefaultJoinStrategy(reduce-side join). | 
| default <U> LTable<K,Pair<V,U>> | join(LTable<K,U> other,
    JoinType joinType,
    JoinStrategy<K,V,U> joinStrategy)Join this table to another  LTablewhich has the same key type using the providedJoinTypeandJoinStrategy | 
| default LCollection<K> | keys()Get an  LCollectioncontaining just the keys from this table | 
| default PType<K> | keyType()Get a  PTypewhich can be used to serialize the key part of this table | 
| default <T> LTable<T,V> | mapKeys(SFunction<K,T> fn,
       PType<T> pType)Transform the keys of this table using the given function | 
| default <T> LTable<K,T> | mapValues(SFunction<V,T> fn,
         PType<T> pType)Transform the values of this table using the given function | 
| default PTableType<K,V> | pType()Get the underlying  PTableTypeused to serialize key/value pairs in this table | 
| PTable<K,V> | underlying()Get the underlying  PTablefor this LCollection | 
| default LTable<K,V> | union(LTable<K,V> other){@inheritDoc | 
| default LTable<K,V> | union(PTable<K,V> other){@inheritDoc | 
| default LCollection<V> | values()Get an  LCollectioncontaining just the values from this table | 
| default PType<V> | valueType()Get a  PTypewhich can be used to serialize the value part of this table | 
| default LTable<K,V> | write(Target target)Write this table to the  Targetsupplied. | 
| default LTable<K,V> | write(Target target,
     Target.WriteMode writeMode)Write this table to the  Targetsupplied. | 
by, cache, cache, count, factory, filterMap, filterMap, flatMap, flatMap, map, map, materialize, parallelDo, parallelDo, parallelDo, parallelDo, ptf, union, unionPTable<K,V> underlying()
PTable for this LCollectionunderlying in interface LCollection<Pair<K,V>>default LGroupedTable<K,V> groupByKey()
LGroupedTabledefault LGroupedTable<K,V> groupByKey(int numReducers)
LGroupedTabledefault LGroupedTable<K,V> groupByKey(GroupingOptions opts)
LGroupedTabledefault LCollection<K> keys()
LCollection containing just the keys from this tabledefault LCollection<V> values()
LCollection containing just the values from this tabledefault <T> LTable<T,V> mapKeys(SFunction<K,T> fn, PType<T> pType)
default <T> LTable<K,T> mapValues(SFunction<V,T> fn, PType<T> pType)
default LTable<K,V> filter(SPredicate<Pair<K,V>> predicate)
filter in interface LCollection<Pair<K,V>>default LTable<K,V> filterByKey(SPredicate<K> predicate)
default LTable<K,V> filterByValue(SPredicate<V> predicate)
default <U> LTable<K,Pair<V,U>> join(LTable<K,U> other, JoinType joinType, JoinStrategy<K,V,U> joinStrategy)
LTable which has the same key type using the provided JoinType and
 JoinStrategydefault <U> LTable<K,Pair<V,U>> join(LTable<K,U> other, JoinType joinType)
LTable which has the same key type using the provide JoinType and
 the DefaultJoinStrategy (reduce-side join).default <U> LTable<K,Pair<V,U>> join(LTable<K,U> other)
LTable which has the same key type using a reduce-side joindefault <U> LTable<K,Pair<Collection<V>,Collection<U>>> cogroup(LTable<K,U> other)
LTable with the same key type, collecting the set of values from
 each side.default PTableType<K,V> pType()
PTableType used to serialize key/value pairs in this tablepType in interface LCollection<Pair<K,V>>default PType<K> keyType()
PType which can be used to serialize the key part of this tabledefault PType<V> valueType()
PType which can be used to serialize the value part of this tabledefault LTable<K,V> write(Target target)
Target supplied.write in interface LCollection<Pair<K,V>>default LTable<K,V> write(Target target, Target.WriteMode writeMode)
Target supplied.write in interface LCollection<Pair<K,V>>default LTable<K,V> increment(Enum<?> counter)
increment in interface LCollection<Pair<K,V>>default LTable<K,V> increment(String counterGroup, String counterName)
increment in interface LCollection<Pair<K,V>>default LTable<K,V> incrementIf(Enum<?> counter, SPredicate<Pair<K,V>> condition)
incrementIf in interface LCollection<Pair<K,V>>default LTable<K,V> incrementIf(String counterGroup, String counterName, SPredicate<Pair<K,V>> condition)
incrementIf in interface LCollection<Pair<K,V>>Copyright © 2017 The Apache Software Foundation. All rights reserved.