Uses of Class
org.openrefine.ProjectMetadata
-
-
Uses of ProjectMetadata in org.openrefine
Fields in org.openrefine with type parameters of type ProjectMetadata Modifier and Type Field Description protected Map<Long,ProjectMetadata>
ProjectManager. _projectsMetadata
Methods in org.openrefine that return ProjectMetadata Modifier and Type Method Description ProjectMetadata
ProjectManager. getProjectMetadata(long id)
Gets the project metadata from memory Requires that the metadata has already been loaded from the data storeProjectMetadata
ProjectManager. getProjectMetadata(String name)
Gets the project metadata from memory Requires that the metadata has already been loaded from the data storeMethods in org.openrefine that return types with arguments of type ProjectMetadata Modifier and Type Method Description Map<Long,ProjectMetadata>
ProjectManager. getAllProjectMetadata()
Gets all the project Metadata currently held in memory.Methods in org.openrefine with parameters of type ProjectMetadata Modifier and Type Method Description void
ProjectManager. mergeEmptyUserMetadata(ProjectMetadata metadata)
void
ProjectManager. registerProject(Project project, ProjectMetadata projectMetadata)
Registers the project in the memory of the current sessionabstract void
ProjectManager. saveMetadata(ProjectMetadata metadata, long projectId)
Save project metadata to the data storevoid
ProjectManagerStub. saveMetadata(ProjectMetadata metadata, long projectId)
-
Uses of ProjectMetadata in org.openrefine.commands
Methods in org.openrefine.commands that return ProjectMetadata Modifier and Type Method Description protected ProjectMetadata
Command. getProjectMetadata(javax.servlet.http.HttpServletRequest request)
Utility method for retrieving the ProjectMetadata object having the ID specified in the "project" URL parameter. -
Uses of ProjectMetadata in org.openrefine.commands.workspace
Fields in org.openrefine.commands.workspace with type parameters of type ProjectMetadata Modifier and Type Field Description protected Map<Long,ProjectMetadata>
GetAllProjectMetadataCommand.AllProjectMetadata. projects
Constructor parameters in org.openrefine.commands.workspace with type arguments of type ProjectMetadata Constructor Description AllProjectMetadata(Map<Long,ProjectMetadata> map, String json)
-
Uses of ProjectMetadata in org.openrefine.exporters
Methods in org.openrefine.exporters with parameters of type ProjectMetadata Modifier and Type Method Description void
CsvExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties params, Engine engine, Writer writer)
void
HtmlTableExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties params, Engine engine, Writer writer)
void
OdsExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties params, Engine engine, OutputStream outputStream)
void
StreamExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties options, Engine engine, OutputStream outputStream)
void
TemplatingExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties options, Engine engine, Writer writer)
void
WriterExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties options, Engine engine, Writer writer)
void
XlsExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties params, Engine engine, OutputStream outputStream)
-
Uses of ProjectMetadata in org.openrefine.exporters.sql
Methods in org.openrefine.exporters.sql with parameters of type ProjectMetadata Modifier and Type Method Description void
SqlExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties params, Engine engine, Writer writer)
-
Uses of ProjectMetadata in org.openrefine.extension.gdata
Methods in org.openrefine.extension.gdata with parameters of type ProjectMetadata Modifier and Type Method Description static Grid
GDataImporter. parse(Runner runner, com.google.api.services.sheets.v4.Sheets service, ProjectMetadata metadata, ImportingJob job, int limit, com.fasterxml.jackson.databind.node.ObjectNode options)
static Grid
GDataImporter. parse(Runner runner, String token, ProjectMetadata metadata, ImportingJob job, int limit, com.fasterxml.jackson.databind.node.ObjectNode options)
static Grid
GDataImporter. parseOneWorkSheet(Runner runner, com.google.api.services.sheets.v4.Sheets service, ProjectMetadata metadata, ImportingJob job, URL docURL, int worksheetIndex, int limit, com.fasterxml.jackson.databind.node.ObjectNode options)
-
Uses of ProjectMetadata in org.openrefine.importers
Fields in org.openrefine.importers declared as ProjectMetadata Modifier and Type Field Description protected ProjectMetadata
ImporterTest. metadata
Methods in org.openrefine.importers with parameters of type ProjectMetadata Modifier and Type Method Description Grid
ImportingParserBase. parse(Runner runner, ProjectMetadata metadata, ImportingJob job, List<ImportingFileRecord> fileRecords, String format, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
ExcelImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<InputStream> inputStreamSupplier, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
FixedWidthImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
ImportingParserBase. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, ImportingFileRecord fileRecord, long limit, com.fasterxml.jackson.databind.node.ObjectNode options, MultiFileReadingProgress progress)
abstract Grid
InputStreamImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<InputStream> inputStream, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Parses one file, read from anInputStream
object, into a Grid.void
JsonImporter. parseOneFile(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, InputStream is, ImportColumnGroup rootColumnGroup, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
LegacyProjectImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<InputStream> inputStreamSupplier, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
LineBasedImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
OdsImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<InputStream> inputStreamSupplier, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
RdfTripleImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> readerSupplier, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
abstract Grid
ReaderImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Parses one file, read from aReader
object, into a Grid.Grid
SeparatorBasedImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
TabularParserHelper. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, TabularParserHelper.TableDataReader dataReader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Deprecated.useTabularParserHelper.parseOneFile(Runner, String, String, CloseableIterable, long, ObjectNode)
because it avoids loading the entire grid in memory.Grid
WikitextImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
void
XmlImporter. parseOneFile(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveName, InputStream inputStream, ImportColumnGroup rootColumnGroup, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
-
Uses of ProjectMetadata in org.openrefine.importers.tree
Methods in org.openrefine.importers.tree with parameters of type ProjectMetadata Modifier and Type Method Description Grid
TreeImportingParserBase. parse(Runner runner, ProjectMetadata metadata, ImportingJob job, List<ImportingFileRecord> fileRecords, String format, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
void
TreeImportingParserBase. parseOneFile(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, InputStream inputStream, ImportColumnGroup rootColumnGroup, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Parse a single file from an InputStream.protected void
TreeImportingParserBase. parseOneFile(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, TreeReader treeParser, ImportColumnGroup rootColumnGroup, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Parse a single file from a TreeReader.void
TreeImportingParserBase. parseOneFile(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, ProjectMetadata metadata, ImportingJob job, ImportingFileRecord fileRecord, ImportColumnGroup rootColumnGroup, long limit, com.fasterxml.jackson.databind.node.ObjectNode options, MultiFileReadingProgress progress)
-
Uses of ProjectMetadata in org.openrefine.importing
Fields in org.openrefine.importing declared as ProjectMetadata Modifier and Type Field Description ProjectMetadata
ImportingJob. metadata
Methods in org.openrefine.importing that return ProjectMetadata Modifier and Type Method Description static ProjectMetadata
ImportingUtilities. createProjectMetadata(com.fasterxml.jackson.databind.node.ObjectNode optionObj)
Methods in org.openrefine.importing with parameters of type ProjectMetadata Modifier and Type Method Description Grid
ImportingParser. parse(Runner runner, ProjectMetadata metadata, ImportingJob job, List<ImportingFileRecord> fileRecords, String format, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Main method of the parser: parse a grid out of input files -
Uses of ProjectMetadata in org.openrefine.io
Methods in org.openrefine.io that return ProjectMetadata Modifier and Type Method Description static ProjectMetadata
ProjectMetadataUtilities. load(File projectDir)
protected static ProjectMetadata
ProjectMetadataUtilities. loadFromFile(File metadataFile)
static ProjectMetadata
ProjectMetadataUtilities. recover(File projectDir, long id)
Reconstruct the project metadata on a best efforts basis.Methods in org.openrefine.io with parameters of type ProjectMetadata Modifier and Type Method Description static void
ProjectMetadataUtilities. save(ProjectMetadata projectMeta, File projectDir)
void
FileProjectManager. saveMetadata(ProjectMetadata metadata, long projectId)
protected static void
ProjectMetadataUtilities. saveToFile(ProjectMetadata projectMeta, File metadataFile)
-
Uses of ProjectMetadata in org.openrefine.model
Methods in org.openrefine.model that return ProjectMetadata Modifier and Type Method Description ProjectMetadata
Project. getMetadata()
-
Uses of ProjectMetadata in org.openrefine.pcaxis
Methods in org.openrefine.pcaxis with parameters of type ProjectMetadata Modifier and Type Method Description Grid
PCAxisImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
-
Uses of ProjectMetadata in org.openrefine.wikibase.exporters
Methods in org.openrefine.wikibase.exporters with parameters of type ProjectMetadata Modifier and Type Method Description void
QuickStatementsExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties options, Engine engine, Writer writer)
void
SchemaExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties options, Engine engine, Writer writer)
-