Package | Description |
---|---|
org.apache.metamodel |
Root package for MetaModel
|
org.apache.metamodel.csv |
Module package for Comma Separated Values (CSV) files
|
org.apache.metamodel.excel |
Module package for MS Excel spreadsheet files
|
org.apache.metamodel.factory | |
org.apache.metamodel.fixedwidth |
Module package for Fixed width value files
|
org.apache.metamodel.hadoop | |
org.apache.metamodel.json | |
org.apache.metamodel.schema.builder |
API for schema building.
|
org.apache.metamodel.spring | |
org.apache.metamodel.util |
Utilities and convenient classes
|
org.apache.metamodel.xml |
Module package for XML files
|
Modifier and Type | Method and Description |
---|---|
static DataContext |
DataContextFactory.createFixedWidthDataContext(Resource resource,
FixedWidthConfiguration configuration)
Creates a DataContext based on a fixed width file.
|
Modifier and Type | Method and Description |
---|---|
Resource |
CsvDataContext.getResource()
Gets the resource that is being read from.
|
Constructor and Description |
---|
CsvDataContext(Resource resource,
CsvConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
Resource |
ExcelDataContext.getResource()
Gets the Excel resource being read
|
Constructor and Description |
---|
ExcelDataContext(Resource resource,
ExcelConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
Resource |
UrlResourceFactory.create(ResourceProperties properties) |
Resource |
ResourceFactory.create(ResourceProperties properties) |
Resource |
InMemoryResourceFactory.create(ResourceProperties properties) |
Resource |
FileResourceFactory.create(ResourceProperties properties) |
Resource |
ClasspathResourceFactory.create(ResourceProperties properties) |
Resource |
ResourceFactoryRegistryImpl.createResource(ResourceProperties properties) |
Resource |
ResourceFactoryRegistry.createResource(ResourceProperties properties) |
Modifier and Type | Method and Description |
---|---|
Resource |
FixedWidthDataContext.getResource()
Gets the resource being read
|
Modifier and Type | Method and Description |
---|---|
FixedWidthConfiguration |
FixedWidthConfigurationReader.readFromSasFormatFile(String encoding,
Resource resource,
boolean failOnInconsistentLineWidth)
Reads a
FixedWidthConfiguration based on a SAS 'format file',
described here. |
FixedWidthConfiguration |
FixedWidthConfigurationReader.readFromSasInputDefinition(String encoding,
Resource resource,
boolean failOnInconsistentLineWidth)
Reads a
FixedWidthConfiguration based on a SAS INPUT declaration. |
Constructor and Description |
---|
FixedWidthDataContext(Resource resource,
FixedWidthConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
Resource |
HdfsResourceFactory.create(ResourceProperties properties) |
Constructor and Description |
---|
JsonDataContext(Resource resource) |
JsonDataContext(Resource resource,
SchemaBuilder schemaBuilder) |
Constructor and Description |
---|
MultiTableInferentialSchemaBuilder(Resource resource) |
MultiTableInferentialSchemaBuilder(Resource resource,
String discriminatorColumn) |
SingleMapColumnSchemaBuilder(Resource resource,
String columnName) |
SingleTableInferentialSchemaBuilder(Resource resource) |
Modifier and Type | Class and Description |
---|---|
class |
SpringResource
A
Resource implementation based on spring's similar
Resource concept. |
Modifier and Type | Method and Description |
---|---|
protected Resource |
AbstractDataContextFactoryBeanDelegate.getResource(DataContextFactoryParameters params) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractResource
Abstract implementation of many methods in
Resource |
class |
ClasspathResource
A
Resource based on a classpath entry |
class |
FileResource
|
class |
HdfsResource
A
Resource implementation that connects to Apache Hadoop's HDFS
distributed file system. |
class |
InMemoryResource
An entirely in-memory kept
Resource . |
class |
UrlResource
Resource based on URL or URI.
|
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceException.getResource() |
static Resource |
ResourceUtils.toResource(ResourceProperties resourceProperties)
Creates a Resource based on the
ResourceProperties definition. |
static Resource |
ResourceUtils.toResource(String uri)
Creates a Resource based on a path or URI (represented by a String)
|
static Resource |
ResourceUtils.toResource(URI uri)
Creates a Resource based on a URI
|
Modifier and Type | Method and Description |
---|---|
static void |
FileHelper.copy(Resource from,
Resource to) |
static String |
ResourceUtils.getParentName(Resource resource)
Gets the parent name of a resource.
|
Constructor and Description |
---|
ResourceException(Resource resource,
Exception cause) |
ResourceException(Resource resource,
String message) |
ResourceException(Resource resource,
String message,
Exception cause) |
Constructor and Description |
---|
XmlDomDataContext(Resource resource,
boolean autoFlattenTables)
Creates an XML DataContext strategy based on a file.
|
XmlSaxDataContext(Resource resource,
Collection<XmlSaxTableDef> tableDefs) |
XmlSaxDataContext(Resource resource,
XmlSaxTableDef... tableDefs) |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.