public class FileMetadataColumn extends MetadataColumn
Constructor and Description |
---|
FileMetadataColumn(String name,
FileMetadataColumnDefn defn)
Constructor for unresolved column.
|
FileMetadataColumn(String name,
FileMetadataColumnDefn defn,
FileMetadata fileInfo,
VectorSource source,
int sourceIndex)
Constructor for resolved column.
|
Modifier and Type | Method and Description |
---|---|
FileMetadataColumnDefn |
defn() |
MetadataColumn |
resolve(FileMetadata fileInfo,
VectorSource source,
int sourceIndex) |
name, schema, toString, value
metadata, project, source, sourceIndex
public FileMetadataColumn(String name, FileMetadataColumnDefn defn, FileMetadata fileInfo, VectorSource source, int sourceIndex)
name
- name of the column as given in the projection listdefn
- definition of the metadata columnfileInfo
- description of the file used in this scan. Used to
populate the value of this column on a per-file basissource
- handle to the a logical batch that holds the vectors
to be populated in each row batchsourceIndex
- the location of the vector to populatepublic FileMetadataColumn(String name, FileMetadataColumnDefn defn)
name
- name of the column as given in the projection listdefn
- definition of the metadata columnpublic FileMetadataColumnDefn defn()
public MetadataColumn resolve(FileMetadata fileInfo, VectorSource source, int sourceIndex)
resolve
in class MetadataColumn
Copyright © 1970 The Apache Software Foundation. All rights reserved.