Package com.linkedin.venice.schema.vson
Class VsonReader
- java.lang.Object
-
- com.linkedin.venice.schema.vson.VsonReader
-
@Deprecated public class VsonReader extends java.lang.Object
Deprecated.Frontend parser. Can read arbitrary strings and convert them to intermediate Objects. The intermediate objects then could be converted to either Avro or Vson Schema. It throws exceptions if syntax errors incur.
-
-
Constructor Summary
Constructors Constructor Description VsonReader(java.io.Reader reader)
Deprecated.VsonReader(java.io.Reader reader, int contextBufferSize)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getCurrentContext()
Deprecated.int
getCurrentLineNumber()
Deprecated.int
getCurrentLineOffset()
Deprecated.boolean
hasMore()
Deprecated.java.lang.Object
read()
Deprecated.java.util.List<?>
readArray()
Deprecated.java.lang.Boolean
readBoolean()
Deprecated.double
readFraction()
Deprecated.int
readInt()
Deprecated.java.lang.Object
readNull()
Deprecated.java.lang.Number
readNumber()
Deprecated.java.util.Map<java.lang.String,?>
readObject()
Deprecated.java.lang.String
readString()
Deprecated.
-
-
-
Method Detail
-
hasMore
public boolean hasMore()
Deprecated.
-
read
public java.lang.Object read()
Deprecated.
-
readObject
public java.util.Map<java.lang.String,?> readObject()
Deprecated.
-
readArray
public java.util.List<?> readArray()
Deprecated.
-
readNull
public java.lang.Object readNull()
Deprecated.
-
readBoolean
public java.lang.Boolean readBoolean()
Deprecated.
-
readString
public java.lang.String readString()
Deprecated.
-
readNumber
public java.lang.Number readNumber()
Deprecated.
-
readInt
public int readInt()
Deprecated.
-
readFraction
public double readFraction()
Deprecated.
-
getCurrentLineNumber
public int getCurrentLineNumber()
Deprecated.
-
getCurrentLineOffset
public int getCurrentLineOffset()
Deprecated.
-
getCurrentContext
public java.lang.String getCurrentContext()
Deprecated.
-
-