Class DataFile
java.lang.Object
org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
org.odpi.openmetadata.accessservices.dataengine.model.Asset
org.odpi.openmetadata.accessservices.dataengine.model.DataStore
org.odpi.openmetadata.accessservices.dataengine.model.DataFile
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CSVFile
DataFile is a java bean used to create DataFiles associated with the external data engine.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Gets the file columnsGets file typeboolean
Return if the file is incompleteGets the network addressGet an Endpoint protocolGets the file schemaint
hashCode()
void
setColumns
(List<Attribute> columns) Sets the file columnsvoid
setFileType
(String fileType) Sets the file typevoid
setIncomplete
(boolean incomplete) Sets up if the file is incompletevoid
setNetworkAddress
(String networkAddress) Sets the network address.void
setProtocol
(String protocol) Sets the protocol.void
setSchema
(SchemaType schema) Sets the file schematoString()
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.DataStore
getCreateTime, getEncodingDescription, getEncodingLanguage, getEncodingProperties, getEncodingType, getModifiedTime, getPathName, setCreateTime, setEncodingDescription, setEncodingLanguage, setEncodingProperties, setEncodingType, setModifiedTime, setPathName
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Asset
getDescription, getDisplayName, getOriginBusinessCapabilityGUID, getOriginOrganizationGUID, getOtherOriginValues, getOwner, getOwnerType, getZoneMembership, setDescription, setDisplayName, setOriginBusinessCapabilityGUID, setOriginOrganizationGUID, setOtherOriginValues, setOwner, setOwnerType, setZoneMembership
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
Constructor Details
-
DataFile
public DataFile()
-
-
Method Details
-
getFileType
Gets file type- Returns:
- type
-
getSchema
Gets the file schema- Returns:
- file schema
-
getColumns
Gets the file columns- Returns:
- columns
-
getNetworkAddress
Gets the network address- Returns:
- columns
-
getProtocol
Get an Endpoint protocol- Returns:
- network address
-
getIncomplete
public boolean getIncomplete()Return if the file is incomplete- Returns:
- if the file is incomplete
-
setFileType
Sets the file type- Parameters:
fileType
- type
-
setSchema
Sets the file schema- Parameters:
schema
- schema
-
setColumns
Sets the file columns- Parameters:
columns
- columns
-
setNetworkAddress
Sets the network address. Needed to create Endpoint, which in turn is internally generated along with Connection, not provided by user- Parameters:
networkAddress
- network address
-
setProtocol
Sets the protocol. Needed to create Endpoint, which in turn is internally generated along with Connection, not provided by user- Parameters:
protocol
- protocol
-
setIncomplete
public void setIncomplete(boolean incomplete) Sets up if the file is incomplete- Parameters:
incomplete
- if the file is incomplete
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-