org.gcube.contentmanagement.timeseriesservice.impl.importer
Class ImporterItem
java.lang.Object
org.gcube.contentmanagement.timeseriesservice.impl.importer.ImporterItem
- All Implemented Interfaces:
- Serializable
public class ImporterItem
- extends Object
- implements Serializable
- Author:
- lucio
- See Also:
- Serialized Form
|
Constructor Summary |
ImporterItem(org.gcube.common.core.state.GCUBEWSResourceKey key,
org.gcube.common.core.scope.GCUBEScope scope)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImporterItem
public ImporterItem(org.gcube.common.core.state.GCUBEWSResourceKey key,
org.gcube.common.core.scope.GCUBEScope scope)
getResourceKey
public org.gcube.common.core.state.GCUBEWSResourceKey getResourceKey()
setStatus
public void setStatus(org.gcube.contentmanagement.timeseriesservice.stubs.types.Status state)
- Parameters:
state -
getStatus
public org.gcube.contentmanagement.timeseriesservice.stubs.types.Status getStatus()
- Returns:
getId
public String getId()
- Returns:
setId
public void setId(String id)
- Parameters:
id -
getDescription
public String getDescription()
- Returns:
setDescription
public void setDescription(String description)
- Parameters:
description -
getEncoding
public String getEncoding()
- Returns:
- the encoding
setEncoding
public void setEncoding(String encoding)
- Parameters:
encoding - the encoding to set
getColumnsDefinition
public org.gcube.contentmanagement.timeseriesservice.stubs.types.ColumnDefinition[] getColumnsDefinition()
- Returns:
store
public void store()
throws Exception
- Throws:
Exception
storeData
public void storeData(org.gcube.contentmanagement.timeseriesservice.stubs.ImportRequest request)
throws Exception
- Parameters:
refLocator - numElementsPerRow -
- Throws:
Exception
storeDenormalizedData
public void storeDenormalizedData(org.gcube.contentmanagement.timeseriesservice.stubs.DenormalizedImportRequest request)
throws Exception
- Parameters:
refLocator - numElementsPerRow -
- Throws:
Exception
setClosed
public void setClosed()
- closes the possibility to import data
setErrorState
public void setErrorState()
getDataAsJson
public String getDataAsJson(org.gcube.common.dbinterface.queries.Select query)
throws Exception
- Returns:
-
- Throws:
Exception
getData
public String getData()
throws Exception
- Parameters:
lowerLimit - upperLimit -
- Returns:
-
- Throws:
Exception
remove
public void remove()
throws Exception
- Throws:
Exception
count
public int count()
throws Exception
- Throws:
Exception
getFieldNames
public List<String> getFieldNames()
setFieldNames
public void setFieldNames(List<String> fieldNames)
getFieldMapping
public Map<String,String> getFieldMapping()
getTitle
public String getTitle()
setTitle
public void setTitle(String title)
getCreator
public String getCreator()
setCreator
public void setCreator(String creator)
getPublisher
public String getPublisher()
setPublisher
public void setPublisher(String publisher)
getType
public String getType()
setType
public void setType(String type)
getSource
public String getSource()
setSource
public void setSource(String source)
getRights
public String getRights()
setRights
public void setRights(String rights)
getImportProgress
public int getImportProgress()
setImportProgress
public void setImportProgress(int importProgress)
getTotalLines
public int getTotalLines()
setTotalLines
public void setTotalLines(int totalLines)
getExstimatedLines
public int getExstimatedLines()
setExstimatedLines
public void setExstimatedLines(int exstimatedLine)
getTable
public org.gcube.common.dbinterface.tables.SimpleTable getTable()
setTable
public void setTable(org.gcube.common.dbinterface.tables.SimpleTable table)
getDate
public Timestamp getDate()
setDate
public void setDate(Timestamp date)
getScope
public String getScope()
setScope
public void setScope(String scope)
Copyright © 2012. All Rights Reserved.