Modifier and Type | Class and Description |
---|---|
static interface |
Scannables.RecordMaker<KEY,VALUE,RECORD>
Provides a way to convert a key and a value - as provided by a split reader - in to a single record object.
|
Constructor and Description |
---|
Scannables() |
Modifier and Type | Method and Description |
---|---|
static <KEY,VALUE,RECORD> |
splitRecordScanner(SplitReader<KEY,VALUE> splitReader,
Scannables.RecordMaker<KEY,VALUE,RECORD> recordMaker)
Given a split reader and a way to convert its key/value pairs into records, return a split record scanner that
delegates all operations to the underlying split reader.
|
static <KEY,VALUE> |
valueRecordScanner(SplitReader<KEY,VALUE> splitReader)
Given a split reader and a way to convert its key/value pairs into records, return a record scanner that
delegates all operations to the underlying split reader.
|
public static <KEY,VALUE,RECORD> RecordScanner<RECORD> splitRecordScanner(SplitReader<KEY,VALUE> splitReader, Scannables.RecordMaker<KEY,VALUE,RECORD> recordMaker)
public static <KEY,VALUE> RecordScanner<VALUE> valueRecordScanner(SplitReader<KEY,VALUE> splitReader)
Copyright © 2021 Cask Data, Inc. Licensed under the Apache License, Version 2.0.