public final class DataFileIndexWriter extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
static interface |
DataFileIndexWriter.FileIndexResult
File index result.
|
Modifier and Type | Field and Description |
---|---|
static DataFileIndexWriter.FileIndexResult |
EMPTY_RESULT |
Constructor and Description |
---|
DataFileIndexWriter(FileIO fileIO,
Path path,
RowType rowType,
FileIndexOptions fileIndexOptions,
Map<String,String> colNameMapping) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static DataFileIndexWriter |
create(FileIO fileIO,
Path path,
RowType rowType,
FileIndexOptions fileIndexOptions) |
static DataFileIndexWriter |
create(FileIO fileIO,
Path path,
RowType rowType,
FileIndexOptions fileIndexOptions,
Map<String,String> colNameMapping) |
DataFileIndexWriter.FileIndexResult |
result() |
Map<String,Map<String,byte[]>> |
serializeMaintainers() |
void |
write(InternalRow row) |
public static final DataFileIndexWriter.FileIndexResult EMPTY_RESULT
public void write(InternalRow row)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public DataFileIndexWriter.FileIndexResult result()
@Nullable public static DataFileIndexWriter create(FileIO fileIO, Path path, RowType rowType, FileIndexOptions fileIndexOptions)
@Nullable public static DataFileIndexWriter create(FileIO fileIO, Path path, RowType rowType, FileIndexOptions fileIndexOptions, @Nullable Map<String,String> colNameMapping)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.