Static factory class for creating new instances.
Type Params | Return Type | Name and description |
---|---|---|
|
static InferredSchema |
newInstance() Creates a new empty schema. |
|
static InferredSchema |
parse(java.io.InputStream is) Decodes and parses the given InputStream as a serialized InferredSchema. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates a new empty schema.
Decodes and parses the given InputStream as a serialized InferredSchema.