DataStore
Mit der Funktion datastore
kann ein DataStore erstellt werden, der ein Repository für Datensammlungen beinhaltet, die zu groß für den Speicher sind. Ein DataStore ermöglicht das Lesen und Bearbeiten von Daten, die in mehreren Dateien auf einer Festplatte, an einem Remote-Standort oder in einer Datenbank gespeichert sind, als einzelne Entität. Wenn die Daten zu groß für den Speicher sind, können Sie den inkrementellen Datenimport verwalten, ein tall
-Array für das Arbeiten mit den Daten erstellen oder das DataStore als Eingabe in mapreduce
für die weitere Bearbeitung verwenden. Weitere Informationen finden Sie unter Getting Started with Datastore.
Funktionen
Klassen
Themen
- Getting Started with Datastore
A datastore is an object for reading a single file or a collection of files or data.
- Select Datastore for File Format or Application
Choose the right datastore based on the file format of your data or application.
- Read and Analyze Large Tabular Text File
This example shows how to create a datastore for a large text file containing tabular data, and then read and process the data one block at a time or one file at a time.
- Read and Analyze Image Files
This example shows how to create a datastore for a collection of images, read the image files, and find the images with the maximum average hue, saturation, and brightness (HSV).
- Read and Analyze MAT-File with Key-Value Data
This example shows how to create a datastore for key-value pair data in a MAT-file that is the output of
mapreduce
. - Read and Analyze Hadoop Sequence File
This example shows how to create a datastore for a Sequence file containing key-value data.
- Work with Remote Data
Work with remote data in Amazon S3™, Azure® Blob Storage, or HDFS™.
- Set Up Datastore for Processing on Different Machines or Clusters
Setup a datastore on your machine that can be loaded and processed on another machine or cluster.
- Develop Custom Datastore
Create a fully customized datastore for your custom or proprietary data.
- Develop Custom Datastore for DICOM Data
This example shows how to develop a custom datastore that supports writing operations.
- Testing Guidelines for Custom Datastores
After implementing your custom datastore, follow this test procedure to qualify your custom datastore.