Sequence File: Reading & Writing
This lesson demonstrates programmatically reading and writing a sequence file.
We'll cover the following...
Sequence File: Reading & Writing
In this lesson, we write and read sequence files. We define a class representing a car, create objects of the car, and then store them in a sequence file. Our class Car
is written in Java and implements the interface Writeable
. Implementing the interface allows us to serialize an object of the class as a key/value pair into the sequence file. We can choose the key to be the car name and the ...
Access this course and 1400+ top-rated courses and projects.