public class ProtobufDataManager extends Object
Constructor and Description |
---|
ProtobufDataManager() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
convertToInfinispan(Class<T> expectedType,
Object contents) |
static Object |
convertToRuntime(Class expectedType,
Object contents) |
static org.infinispan.protostream.descriptors.Type |
getCompatibleProtobufType(Class<?> type) |
static org.infinispan.protostream.descriptors.Type |
parseProtobufType(String name) |
static boolean |
shouldPreserveType(String ispnType,
String teiidType) |
static String |
teiidType(com.squareup.protoparser.DataType protoType,
boolean array,
boolean isEnum) |
public static String teiidType(com.squareup.protoparser.DataType protoType, boolean array, boolean isEnum)
public static Object convertToRuntime(Class expectedType, Object contents) throws IOException
IOException
public static <T> T convertToInfinispan(Class<T> expectedType, Object contents) throws IOException
IOException
public static org.infinispan.protostream.descriptors.Type parseProtobufType(String name)
public static org.infinispan.protostream.descriptors.Type getCompatibleProtobufType(Class<?> type)
Copyright © 2019. All rights reserved.