Package org.apache.druid.data.input.impl
Interface CloudObjectSplitWidget
public interface CloudObjectSplitWidget
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classReturned bygetDescriptorIteratorForPrefixes(List). -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetDescriptorIteratorForPrefixes(List<URI> prefixes) Iterator of descriptors that match a list of prefixes.longgetObjectSize(CloudObjectLocation descriptor) Size of an object.
-
Field Details
-
UNKNOWN_SIZE
static final long UNKNOWN_SIZE- See Also:
-
-
Method Details
-
getDescriptorIteratorForPrefixes
Iterator<CloudObjectSplitWidget.LocationWithSize> getDescriptorIteratorForPrefixes(List<URI> prefixes) Iterator of descriptors that match a list of prefixes. Used ifCloudObjectInputSource.getPrefixes()is set. Sizes inCloudObjectSplitWidget.LocationWithSizeare set if the information is naturally available as part of listing the cloud object prefix. Otherwise, they are set toUNKNOWN_SIZEand filled in later. -
getObjectSize
Size of an object. May use a cached size, if available, or may issue a network call.- Throws:
IOException
-