public interface PTypeFamily
PType instances that have the same
 serialization/storage backing format.| Modifier and Type | Method and Description | 
|---|---|
| <T> PType<T> | as(PType<T> ptype)Returns the equivalent of the given ptype for this family, if it exists. | 
| PType<Boolean> | booleans() | 
| PType<ByteBuffer> | bytes() | 
| <T> PType<Collection<T>> | collections(PType<T> ptype) | 
| <S,T> PType<T> | derived(Class<T> clazz,
       MapFn<S,T> inputFn,
       MapFn<T,S> outputFn,
       PType<S> base) | 
| <S,T> PType<T> | derivedImmutable(Class<T> clazz,
                MapFn<S,T> inputFn,
                MapFn<T,S> outputFn,
                PType<S> base)A derived type whose values are immutable. | 
| PType<Double> | doubles() | 
| PType<Float> | floats() | 
| PType<Integer> | ints() | 
| PType<Long> | longs() | 
| <T> PType<Map<String,T>> | maps(PType<T> ptype) | 
| PType<Void> | nulls() | 
| <V1,V2> PType<Pair<V1,V2>> | pairs(PType<V1> p1,
     PType<V2> p2) | 
| <V1,V2,V3,V4> | quads(PType<V1> p1,
     PType<V2> p2,
     PType<V3> p3,
     PType<V4> p4) | 
| <T> PType<T> | records(Class<T> clazz) | 
| PType<String> | strings() | 
| <K,V> PTableType<K,V> | tableOf(PType<K> key,
       PType<V> value) | 
| <V1,V2,V3> PType<Tuple3<V1,V2,V3>> | triples(PType<V1> p1,
       PType<V2> p2,
       PType<V3> p3) | 
| <T extends Tuple> | tuples(Class<T> clazz,
      PType<?>... ptypes) | 
| PType<TupleN> | tuples(PType<?>... ptypes) | 
| PType<Union> | unionOf(PType<?>... ptypes) | 
PType<ByteBuffer> bytes()
<T> PType<Collection<T>> collections(PType<T> ptype)
<V1,V2,V3,V4> PType<Tuple4<V1,V2,V3,V4>> quads(PType<V1> p1, PType<V2> p2, PType<V3> p3, PType<V4> p4)
<S,T> PType<T> derived(Class<T> clazz, MapFn<S,T> inputFn, MapFn<T,S> outputFn, PType<S> base)
<S,T> PType<T> derivedImmutable(Class<T> clazz, MapFn<S,T> inputFn, MapFn<T,S> outputFn, PType<S> base)
<K,V> PTableType<K,V> tableOf(PType<K> key, PType<V> value)
Copyright © 2017 The Apache Software Foundation. All rights reserved.