Home
last modified time | relevance | path

Searched refs:TBase (Results 1 – 25 of 46) sorted by relevance

12

/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/partial/
DThriftStructProcessor.java27 import org.apache.thrift.TBase;
36 public class ThriftStructProcessor implements ThriftFieldValueProcessor<TBase> {
46 public TBase prepareStruct(Object instance) { in prepareStruct()
47 return (TBase) instance; in prepareStruct()
111 public void setBool(TBase valueCollection, TFieldIdEnum fieldId, boolean value) { in setBool()
116 public void setByte(TBase valueCollection, TFieldIdEnum fieldId, byte value) { in setByte()
121 public void setInt16(TBase valueCollection, TFieldIdEnum fieldId, short value) { in setInt16()
126 public void setInt32(TBase valueCollection, TFieldIdEnum fieldId, int value) { in setInt32()
131 public void setInt64(TBase valueCollection, TFieldIdEnum fieldId, long value) { in setInt64()
136 public void setDouble(TBase valueCollection, TFieldIdEnum fieldId, double value) { in setDouble()
[all …]
DThriftMetadata.java31 import org.apache.thrift.TBase;
360 public abstract static class ThriftStructBase<U extends TBase> extends ThriftObject {
369 public static <U extends TBase> Class<U> getStructClass(FieldMetaData data) { in getStructClass()
396 public static class ThriftUnion<U extends TBase> extends ThriftStructBase {
416 public static class ThriftStruct<U extends TBase> extends ThriftStructBase {
430 public <T extends TBase> T createNewStruct() { in createNewStruct()
440 public static <T extends TBase> ThriftStruct of(Class<T> clasz) { in of()
444 public static <T extends TBase> ThriftStruct fromFieldNames( in fromFieldNames()
449 public static <T extends TBase> ThriftStruct fromFields( in fromFields()
489 private static <U extends TBase> Map<Integer, ThriftObject> getFields( in getFields()
DPartialThriftComparer.java28 import org.apache.thrift.TBase;
40 public class PartialThriftComparer<T extends TBase> {
119 TBase t1 = (TBase) o1; in areEqual()
120 TBase t2 = (TBase) o2; in areEqual()
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/partial/
DThriftSerDe.java22 import org.apache.thrift.TBase;
42 public byte[] serializeBinary(TBase obj) throws TException { in serializeBinary()
46 public byte[] serializeCompact(TBase obj) throws TException { in serializeCompact()
50 public <T extends TBase> T deserializeBinary(byte[] bytes, Class<T> clazz) throws TException { in deserializeBinary()
56 public <T extends TBase> T deserializeCompact(byte[] bytes, Class<T> clazz) throws TException { in deserializeCompact()
62 private <T extends TBase> T newInstance(Class<T> clazz) { in newInstance()
/thrift-3.4.0/lib/php/lib/Base/
DTBase.php34 abstract class TBase class
73 if (isset(TBase::$tmethod[$ktype])) {
74 $kread = 'read' . TBase::$tmethod[$ktype];
78 if (isset(TBase::$tmethod[$vtype])) {
79 $vread = 'read' . TBase::$tmethod[$vtype];
140 if (isset(TBase::$tmethod[$etype])) {
141 $eread = 'read' . TBase::$tmethod[$etype];
207 if (isset(TBase::$tmethod[$ftype])) {
208 $func = 'read' . TBase::$tmethod[$ftype];
247 if (isset(TBase::$tmethod[$ktype])) {
[all …]
/thrift-3.4.0/lib/php/lib/Exception/
DTException.php26 use Thrift\Base\TBase; alias
75 if (isset(TBase::$tmethod[$ktype])) {
76 $kread = 'read' . TBase::$tmethod[$ktype];
80 if (isset(TBase::$tmethod[$vtype])) {
81 $vread = 'read' . TBase::$tmethod[$vtype];
142 if (isset(TBase::$tmethod[$etype])) {
143 $eread = 'read' . TBase::$tmethod[$etype];
209 if (isset(TBase::$tmethod[$ftype])) {
210 $func = 'read' . TBase::$tmethod[$ftype];
249 if (isset(TBase::$tmethod[$ktype])) {
[all …]
/thrift-3.4.0/lib/php/src/
DThrift.php103 if (isset(TBase::$tmethod[$ktype])) {
104 $kread = 'read'.TBase::$tmethod[$ktype];
108 if (isset(TBase::$tmethod[$vtype])) {
109 $vread = 'read'.TBase::$tmethod[$vtype];
170 if (isset(TBase::$tmethod[$etype])) {
171 $eread = 'read'.TBase::$tmethod[$etype];
237 if (isset(TBase::$tmethod[$ftype])) {
238 $func = 'read'.TBase::$tmethod[$ftype];
277 if (isset(TBase::$tmethod[$ktype])) {
278 $kwrite = 'write'.TBase::$tmethod[$ktype];
[all …]
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/meta_data/
DStructMetaData.java22 import org.apache.thrift.TBase;
25 public final Class<? extends TBase> structClass;
27 public StructMetaData(byte type, Class<? extends TBase> sClass) { in StructMetaData()
DFieldMetaData.java26 import org.apache.thrift.TBase;
47 Class<? extends TBase>, Map<? extends TFieldIdEnum, FieldMetaData>>
73 public static <T extends TBase<T, F>, F extends TFieldIdEnum> void addStructMetaDataMap( in addStructMetaDataMap()
87 public static <T extends TBase<T, F>, F extends TFieldIdEnum>
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/
DTServiceClient.java63 protected void sendBase(String methodName, TBase<?, ?> args) throws TException { in sendBase() argument
67 protected void sendBaseOneway(String methodName, TBase<?, ?> args) throws TException { in sendBaseOneway() argument
71 private void sendBase(String methodName, TBase<?, ?> args, byte type) throws TException { in sendBase() argument
78 protected void receiveBase(TBase<?, ?> result, String methodName) throws TException { in receiveBase() argument
DTBase.java25 public interface TBase<T extends TBase<T, F>, F extends TFieldIdEnum> interface
DTBaseAsyncProcessor.java33 final Map<String, AsyncProcessFunction<I, ? extends TBase, ?>> processMap;
36 I iface, Map<String, AsyncProcessFunction<I, ? extends TBase, ?>> processMap) { in TBaseAsyncProcessor() argument
41 public Map<String, AsyncProcessFunction<I, ? extends TBase, ?>> getProcessMapView() { in getProcessMapView()
74 TBase args = fn.getEmptyArgsInstance(); in process()
DTBaseProcessor.java13 private final Map<String, ProcessFunction<I, ? extends TBase>> processMap;
16 I iface, Map<String, ProcessFunction<I, ? extends TBase>> processFunctionMap) { in TBaseProcessor()
21 public Map<String, ProcessFunction<I, ? extends TBase>> getProcessMapView() { in getProcessMapView()
DTSerializer.java67 public byte[] serialize(TBase<?, ?> base) throws TException { in serialize() argument
80 public String toString(TBase<?, ?> base) throws TException { in toString() argument
/thrift-3.4.0/lib/javame/src/org/apache/thrift/
DTDeserializer.java60 public void deserialize(TBase base, byte[] bytes) throws TException { in deserialize()
75 public void deserialize(TBase base, String data, String charset) throws TException { in deserialize()
91 public void toString(TBase base, String data) throws TException { in toString()
DTSerializer.java77 public byte[] serialize(TBase base) throws TException { in serialize()
91 public String toString(TBase base, String charset) throws TException { in toString()
106 public String toString(TBase base) throws TException { in toString()
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/scheme/
DStandardScheme.java21 import org.apache.thrift.TBase;
23 public abstract class StandardScheme<T extends TBase> implements IScheme<T> {}
DTupleScheme.java21 import org.apache.thrift.TBase;
23 public abstract class TupleScheme<T extends TBase> implements IScheme<T> {}
DIScheme.java21 import org.apache.thrift.TBase;
23 public interface IScheme<T extends TBase> {
/thrift-3.4.0/lib/cpp/src/thrift/
DTBase.h29 class TBase {
31 virtual ~TBase() = default;
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/scheme/
DTestStandardScheme.java6 import org.apache.thrift.TBase;
39 private void readAndCompare(TBase struct, TBase fixture, byte[] inputBytes) throws TException { in readAndCompare()
/thrift-3.4.0/lib/py/src/protocol/
DTBase.py23 class TBase(object): class
59 class TExceptionBase(TBase, Exception):
63 class TFrozenBase(TBase):
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/test/
DSerializationBenchmark.java23 import org.apache.thrift.TBase;
44 public static void testSerialization(TProtocolFactory factory, TBase object) throws Exception { in testSerialization()
81 public static <T extends TBase> void testDeserialization( in testDeserialization()
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/
DTestTDeserializer.java173 TBase input, in testPartialDeserialize()
174 TBase output, in testPartialDeserialize()
175 TBase expected, in testPartialDeserialize()
182 TBase outputCopy = output.deepCopy(); in testPartialDeserialize()
198 private static byte[] serialize(TBase input, TProtocolFactory protocolFactory) throws TException { in serialize()
/thrift-3.4.0/lib/netstd/Thrift/Protocol/
DToString.cs71 else if (self is TBase) in ToString()
73 sb.Append((self as TBase).ToString()); in ToString()

12