public class TypeOpsUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static <T> PrimitiveIdTypeOps<T> | getPrimitiveIdTypeOps(Class<T> type)Get PrimitiveIdTypeOps for given type. | 
| static <T> PrimitiveIdTypeOps<T> | getPrimitiveIdTypeOpsOrNull(Class<T> type)Get PrimitiveIdTypeOps for given type, or null if there is none. | 
| static <T> PrimitiveTypeOps<T> | getPrimitiveTypeOps(Class<T> type)Get PrimitiveTypeOps for given type. | 
| static <T> PrimitiveTypeOps<T> | getPrimitiveTypeOpsOrNull(Class<T> type)Get PrimitiveTypeOps for given type, or null if there is none. | 
| static <T> TypeOps<T> | getTypeOps(Class<T> type)Get TypeOps for given type. | 
| static <T> TypeOps<T> | getTypeOpsOrNull(Class<T> type)Get TypeOps for given type, or null if there is none. | 
| static <O extends TypeOps<?>> | readTypeOps(DataInput input)Read TypeOps object from the stream | 
| static <T> void | writeTypeOps(TypeOps<T> typeOps,
            DataOutput output)Write TypeOps object into a stream | 
public static <T> PrimitiveIdTypeOps<T> getPrimitiveIdTypeOpsOrNull(Class<T> type)
T - Typetype - Class typepublic static <T> PrimitiveIdTypeOps<T> getPrimitiveIdTypeOps(Class<T> type)
T - Typetype - Class typepublic static <T> PrimitiveTypeOps<T> getPrimitiveTypeOpsOrNull(Class<T> type)
T - Typetype - Class typepublic static <T> PrimitiveTypeOps<T> getPrimitiveTypeOps(Class<T> type)
T - Typetype - Class typepublic static <T> TypeOps<T> getTypeOpsOrNull(Class<T> type)
T - Typetype - Class typepublic static <T> TypeOps<T> getTypeOps(Class<T> type)
T - Typetype - Class typepublic static <T> void writeTypeOps(TypeOps<T> typeOps, DataOutput output) throws IOException
T - Corresponding typetypeOps - type ops instanceoutput - output streamIOExceptionpublic static <O extends TypeOps<?>> O readTypeOps(DataInput input) throws IOException
O - Concrete TypeOps typeinput - input streamIOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.