Package org.deidentifier.arx
Klasse Data
java.lang.Object
org.deidentifier.arx.Data
- Bekannte direkte Unterklassen:
Data.DefaultData
Represents input data for the ARX framework.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classThe default implementation of a data object. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Data.DefaultDatacreate()Creates a new default data object.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static Datacreate(File file, Charset charset, CSVSyntax config, CSVOptions options) Creates a new data object from a CSV file.static Datacreate(InputStream stream, Charset charset) Creates a new data object from a CSV file.static Datacreate(InputStream stream, Charset charset, char delimiter) Creates a new data object from a CSV file.static Datacreate(InputStream stream, Charset charset, char delimiter, char quote) Creates a new data object from a CSV file.static Datacreate(InputStream stream, Charset charset, char delimiter, char quote, char escape) Creates a new data object from a CSV file.static Datacreate(InputStream stream, Charset charset, char delimiter, char quote, char escape, char[] linebreak) Creates a new data object from a CSV file.static Datacreate(InputStream stream, Charset charset, char delimiter, int length) Creates a new data object from a CSV file.static Datacreate(InputStream stream, Charset charset, CSVSyntax config) Creates a new data object from a CSV file.static Datacreate(InputStream stream, Charset charset, CSVSyntax config, DataType<?>[] datatypes) Creates a new data object from a CSV file.static DataCreates a new data object from a two-dimensional string array.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static DataCreates a new data object from a CSV file.static Datacreate(String path, Charset charset, CSVSyntax config, CSVOptions options) Creates a new data object from a CSV file.static DataCreates a new data object from an iterator over tuples.static DataCreates a new data object from an iterator over tuples.static DataCreates a new data object from a list.static Datacreate(DataSource source) Creates a new data object from the given data source specification.Returns the data definition.Returns a data handle.protected IntegerOverride to return a length to improve loadingiterator()Iterator.
-
Konstruktordetails
-
Data
public Data()
-
-
Methodendetails
-
create
Creates a new default data object.- Gibt zurück:
- A Data object
-
create
Creates a new data object from the given data source specification.- Parameter:
source- The source that should be used to import data- Gibt zurück:
- Data object as described by the data source
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
file- the file- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
file- A filedelimiter- The utilized separator character- Gibt zurück:
- A Data object
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(File file, Charset charset, char delimiter, char quote) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
file- A filedelimiter- The utilized separator characterquote- The delimiter for strings- Gibt zurück:
- A Data object
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(File file, Charset charset, char delimiter, char quote, char escape) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
file- the filedelimiter- the delimiterquote- the quoteescape- the escape- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(File file, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
file- the filedelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreak- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
file- the fileconfig- the config- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(File file, Charset charset, CSVSyntax config, CSVOptions options) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
file- the fileconfig- the configoptions- the options- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(File file, Charset charset, CSVSyntax config, DataType<?>[] datatypes) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
file- the fileconfig- the configdatatypes- the datatypes- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
stream- the stream- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
stream- An input streamdelimiter- The utilized separator character- Gibt zurück:
- A Data object
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(InputStream stream, Charset charset, char delimiter, int length) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
stream- An input streamdelimiter- The utilized separator characterlength- For improved memory requirements- Gibt zurück:
- A Data object
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(InputStream stream, Charset charset, char delimiter, char quote) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
stream- An input streamdelimiter- The utilized separator characterquote- The delimiter for strings- Gibt zurück:
- A Data object
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(InputStream stream, Charset charset, char delimiter, char quote, char escape) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
stream- the streamdelimiter- the delimiterquote- the quoteescape- the escape- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(InputStream stream, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
stream- the streamdelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreak- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
stream- the streamconfig- the config- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(InputStream stream, Charset charset, CSVSyntax config, DataType<?>[] datatypes) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
stream- the streamconfig- the configdatatypes- the datatypes- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
Creates a new data object from an iterator over tuples.- Parameter:
iterator- An iterator- Gibt zurück:
- A Data object
-
create
Creates a new data object from an iterator over tuples.- Parameter:
iterator- An iteratorlength- number of records to load- Gibt zurück:
- A data object
-
create
Creates a new data object from a list.- Parameter:
list- The list- Gibt zurück:
- A Data object
-
create
Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
path- the path- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
path- A path to the filedelimiter- The utilized separator character- Gibt zurück:
- A Data object
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(String path, Charset charset, char delimiter, char quote) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
path- A path to the filedelimiter- The utilized separator characterquote- The delimiter for strings- Gibt zurück:
- A Data object
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(String path, Charset charset, char delimiter, char quote, char escape) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
path- the pathdelimiter- the delimiterquote- the quoteescape- the escape- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(String path, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
path- the pathdelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreak- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(String path, Charset charset, CSVSyntax config, CSVOptions options) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
path- the pathconfig- the configoptions- the options- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static Data create(String path, Charset charset, CSVSyntax config, DataType<?>[] datatypes) throws IOException Creates a new data object from a CSV file. Assumes that the file contains a header.- Parameter:
path- the pathconfig- the configdatatypes- the datatypes- Gibt zurück:
- the data
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
Creates a new data object from a two-dimensional string array.- Parameter:
array- The array- Gibt zurück:
- A Data object
-
getDefinition
Returns the data definition.- Gibt zurück:
- the definition
-
getHandle
Returns a data handle.- Gibt zurück:
- the handle
-
getLength
Override to return a length to improve loading- Gibt zurück:
-
iterator
Iterator.- Gibt zurück:
- the iterator
-