com.twitter.bijection

PivotImpl

class PivotImpl[K, K1, K2] extends Pivot[K, K1, K2]

Linear Supertypes
Pivot[K, K1, K2], Bijection[Iterable[K], Map[K1, Iterable[K2]]], Serializable, (Iterable[K]) ⇒ Map[K1, Iterable[K2]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PivotImpl
  2. Pivot
  3. Bijection
  4. Serializable
  5. Function1
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PivotImpl(pivot: Bijection[K, (K1, K2)])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def andThen[C](g: Injection[Map[K1, Iterable[K2]], C]): Injection[Iterable[K], C]

    Definition Classes
    Bijection
  7. def andThen[C](g: Bijection[Map[K1, Iterable[K2]], C]): Bijection[Iterable[K], C]

    Composes two instances of Bijection in a new Bijection, with this one applied first.

    Composes two instances of Bijection in a new Bijection, with this one applied first.

    Definition Classes
    Bijection
  8. def andThen[A](g: (Map[K1, Iterable[K2]]) ⇒ A): (Iterable[K]) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. def andThenPivot[K3, K4](after: Bijection[(K1, K2), (K3, K4)]): Pivot[K, K3, K4]

    Definition Classes
    Pivot
  10. def apply(pairs: Iterable[K]): Map[K1, Iterable[K2]]

    Definition Classes
    PivotBijection → Function1
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def compose[T](g: Injection[T, Iterable[K]]): Injection[T, Map[K1, Iterable[K2]]]

    Definition Classes
    Bijection
  14. def compose[T](g: Bijection[T, Iterable[K]]): Bijection[T, Map[K1, Iterable[K2]]]

    Composes two instances of Bijection in a new Bijection, with this one applied last.

    Composes two instances of Bijection in a new Bijection, with this one applied last.

    Definition Classes
    Bijection
  15. def compose[A](g: (A) ⇒ Iterable[K]): (A) ⇒ Map[K1, Iterable[K2]]

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  16. def composePivot[T](before: Bijection[T, K]): Pivot[T, K1, K2]

    Definition Classes
    Pivot
  17. lazy val decoder: PivotDecoder[K, K1, K2]

    Definition Classes
    Pivot
  18. lazy val encoder: PivotEncoder[K, K1, K2]

    Definition Classes
    Pivot
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def inverse: Bijection[Map[K1, Iterable[K2]], Iterable[K]]

    Definition Classes
    Bijection
  25. def invert(m: Map[K1, Iterable[K2]]): Iterable[K]

    Definition Classes
    PivotBijection
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. val pivot: Bijection[K, (K1, K2)]

    Definition Classes
    PivotImplPivot
  31. def split[V](fn: (K) ⇒ V): (K1) ⇒ (K2) ⇒ V

    Definition Classes
    Pivot
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  34. def unsplit[V](fn: (K1) ⇒ (K2) ⇒ V): (K) ⇒ V

    Definition Classes
    Pivot
  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. def withValue[V]: Pivot[(K, V), K1, (K2, V)]

    Returns a new pivot that converts an Iterable of (K, V) to an Iterable of (K1, Iterable[(K2, V)]).

    Returns a new pivot that converts an Iterable of (K, V) to an Iterable of (K1, Iterable[(K2, V)]). This is useful for pivoting multiple (K, V) pairs into a single key in some KV store.

    Definition Classes
    Pivot
  39. def wrapOuter[T]: Pivot[(K, T), (K1, T), K2]

    Returns a new Pivot that converts an Iterable of (K, T) to an Iterable of ((K1, T), Iterable[K2]).

    Returns a new Pivot that converts an Iterable of (K, T) to an Iterable of ((K1, T), Iterable[K2]). This is useful for applying a new pivoting scheme on top of this one while maintaining some outer key component.

    Definition Classes
    Pivot

Inherited from Pivot[K, K1, K2]

Inherited from Bijection[Iterable[K], Map[K1, Iterable[K2]]]

Inherited from Serializable

Inherited from (Iterable[K]) ⇒ Map[K1, Iterable[K2]]

Inherited from AnyRef

Inherited from Any

Ungrouped