public static class Storage.Data
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Storage.Data() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Tuple> |
get(java.lang.String location) |
Schema |
getSchema(java.lang.String location) |
void |
set(java.lang.String location,
java.util.Collection<Tuple> data)
to set the data in a location
|
void |
set(java.lang.String location,
Schema schema,
java.util.Collection<Tuple> data)
to set the data in a location with a known schema
|
void |
set(java.lang.String location,
Schema schema,
Tuple... data)
to set the data in a location with a known schema
|
void |
set(java.lang.String location,
java.lang.String schema,
java.util.Collection<Tuple> data)
to set the data in a location with a known schema
|
void |
set(java.lang.String location,
java.lang.String schema,
Tuple... data)
to set the data in a location with a known schema
|
void |
set(java.lang.String location,
Tuple... data)
to set the data in a location
|
void |
setSchema(java.lang.String location,
Schema schema)
to set the schema for a given location
|
public void set(java.lang.String location, java.lang.String schema, java.util.Collection<Tuple> data) throws ParserException
location
- "where" to store the tuplesschema
- the schema of the datadata
- the tuples to storeParserException
- if schema is invalidpublic void set(java.lang.String location, java.lang.String schema, Tuple... data) throws ParserException
location
- "where" to store the tuplesschema
- data
- the tuples to storeParserException
- if schema is invalidpublic void set(java.lang.String location, Schema schema, java.util.Collection<Tuple> data)
location
- "where" to store the tuplesschema
- data
- the tuples to storepublic void set(java.lang.String location, Schema schema, Tuple... data)
location
- "where" to store the tuplesschema
- data
- the tuples to storepublic void set(java.lang.String location, java.util.Collection<Tuple> data)
location
- "where" to store the tuplesdata
- the tuples to storepublic void set(java.lang.String location, Tuple... data)
location
- "where" to store the tuplesdata
- the tuples to storepublic java.util.List<Tuple> get(java.lang.String location)
location
- public Schema getSchema(java.lang.String location)
location
- public void setSchema(java.lang.String location, Schema schema)
location
- schema
- Copyright © 2007-2012 The Apache Software Foundation