public class FrameSchema extends Object
ValueType
values.Constructor and Description |
---|
FrameSchema() |
FrameSchema(List<Types.ValueType> schema)
Constructor that specifies the schema as a list of
ValueType
values. |
FrameSchema(String schema)
Constructor that specifies the schema as a comma-separated string.
|
Modifier and Type | Method and Description |
---|---|
List<Types.ValueType> |
getSchema()
Obtain the frame schema
|
String |
getSchemaAsString()
Obtain the schema as a comma-separated string
|
void |
setSchema(List<Types.ValueType> schema)
Set the frame schema
|
void |
setSchemaAsString(String schema)
Set the frame schema, specifying the frame schema as a comma-separated
string
|
public FrameSchema()
public FrameSchema(List<Types.ValueType> schema)
ValueType
values.schema
- the frame schemapublic FrameSchema(String schema)
schema
- the frame schema as a stringpublic List<Types.ValueType> getSchema()
ValueType
valuespublic void setSchema(List<Types.ValueType> schema)
schema
- the frame schemapublic void setSchemaAsString(String schema)
schema
- the frame schema as a stringpublic String getSchemaAsString()
Copyright © 2021 The Apache Software Foundation. All rights reserved.