Kinetica   C#   API  Version 7.2.3.0
Decoder.cs
Go to the documentation of this file.
1 
18 using System;
19 using System.IO;
20 
21 namespace Avro.IO
22 {
27  public interface Decoder
28  {
32  void ReadNull();
33 
38  bool ReadBoolean();
39 
44  int ReadInt();
45 
50  long ReadLong();
51 
56  float ReadFloat();
57 
62  double ReadDouble();
63 
68  byte[] ReadBytes();
69 
74  string ReadString();
75 
80  int ReadEnum();
81 
94  long ReadArrayStart();
95 
100  long ReadArrayNext();
101 
113  long ReadMapStart();
114 
119  long ReadMapNext();
120 
125  int ReadUnionIndex();
126 
131  void ReadFixed(byte[] buffer);
132 
139  void ReadFixed(byte[] buffer, int start, int length);
140 
144  void SkipNull();
145 
149  void SkipBoolean();
150 
154  void SkipInt();
155 
159  void SkipLong();
160 
164  void SkipFloat();
165 
169  void SkipDouble();
170 
174  void SkipBytes();
175 
179  void SkipString();
180 
181  void SkipEnum();
182 
183  void SkipUnionIndex();
184 
185  void SkipFixed(int len);
186  }
187 
188 }
double ReadDouble()
Reads a double Avro type
int ReadEnum()
Reads an enum AvroType
void SkipLong()
Skips a long Avro type on the stream.
string ReadString()
Reads a string Avro type
void SkipBoolean()
Skips a boolean Avro type on the stream.
bool ReadBoolean()
Read a boolean Avro type
void SkipDouble()
Skips a double Avro type on the stream.
void SkipString()
Skips a string Avro type on the stream.
int ReadInt()
Reads an int Avro type.
float ReadFloat()
Reads a float Avro type
long ReadLong()
Reads a long Avro type.
byte [] ReadBytes()
Reads the bytes Avro type
long ReadArrayStart()
Starts reading the array Avro type.
long ReadArrayNext()
See ReadArrayStart().
Decoder is used to decode Avro data on a stream.
Definition: Decoder.cs:27
void SkipFloat()
Skips a float Avro type on the stream.
void SkipUnionIndex()
void ReadFixed(byte[] buffer)
A convenience method for ReadFixed(buffer, 0, buffer.Length);
int ReadUnionIndex()
Reads the index, which determines the type in an union Avro type.
long ReadMapNext()
See ReadMapStart().
void SkipInt()
Skips a int Avro type on the stream.
long ReadMapStart()
Starts reading the map Avro type.
void SkipNull()
Skips a null Avro type on the stream.
void SkipFixed(int len)
void ReadNull()
Reads a null Avro type.
void SkipBytes()
Skips a bytes Avro type on the stream.