All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CSVFile

public class DataFile extends DataStore
DataFile is a java bean used to create DataFiles associated with the external data engine.
See Also:
  • Constructor Details

    • DataFile

      public DataFile()
  • Method Details

    • getFileType

      public String getFileType()
      Gets file type
      Returns:
      type
    • getSchema

      public SchemaType getSchema()
      Gets the file schema
      Returns:
      file schema
    • getColumns

      public List<Attribute> getColumns()
      Gets the file columns
      Returns:
      columns
    • getNetworkAddress

      public String getNetworkAddress()
      Gets the network address
      Returns:
      columns
    • getProtocol

      public String 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

      public void setFileType(String fileType)
      Sets the file type
      Parameters:
      fileType - type
    • setSchema

      public void setSchema(SchemaType schema)
      Sets the file schema
      Parameters:
      schema - schema
    • setColumns

      public void setColumns(List<Attribute> columns)
      Sets the file columns
      Parameters:
      columns - columns
    • setNetworkAddress

      public void setNetworkAddress(String networkAddress)
      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

      public void setProtocol(String protocol)
      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

      public boolean equals(Object o)
      Overrides:
      equals in class DataStore
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class DataStore
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class DataStore
    • toString

      public String toString()
      Overrides:
      toString in class DataStore