Interface FileList
public interface FileList
Indexed view over a resolved set of files from an external data source.
Implementations are package-private within the
datasources.glob package;
consumers should depend only on this interface.
Two sentinel instances encode distinct states:
UNRESOLVED— glob not yet expanded (isResolved() == false, isEmpty() == false)EMPTY— glob expanded but matched zero files (isResolved() == true, isEmpty() == true)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlongintPer-file schema info from schema reconciliation, ornullwhen reconciliation was not performed (e.g.booleanisEmpty()booleanlonglastModifiedMillis(int i) path(int i) longsize(int i)
-
Field Details
-
UNRESOLVED
Sentinel: single-file path, glob not yet applied (isResolved() == false). -
EMPTY
Sentinel: glob expanded but matched zero files (isResolved() == true, isEmpty() == true).
-
-
Method Details
-
fileCount
int fileCount() -
path
-
size
long size(int i) -
lastModifiedMillis
long lastModifiedMillis(int i) -
originalPattern
-
partitionMetadata
-
isResolved
boolean isResolved() -
isEmpty
boolean isEmpty() -
estimatedBytes
long estimatedBytes() -
fileSchemaInfo
Per-file schema info from schema reconciliation, ornullwhen reconciliation was not performed (e.g. first-file-wins mode or compact file lists).
-