public class AbfsInputStreamContext extends AbfsStreamContext
| Constructor | Description |
|---|---|
AbfsInputStreamContext(long sasTokenRenewPeriodForStreamsInSeconds) |
getSasTokenRenewPeriodForStreamsInSecondspublic AbfsInputStreamContext(long sasTokenRenewPeriodForStreamsInSeconds)
public AbfsInputStreamContext withReadBufferSize(int readBufferSize)
public AbfsInputStreamContext withReadAheadQueueDepth(int readAheadQueueDepth)
public AbfsInputStreamContext withTolerateOobAppends(boolean tolerateOobAppends)
public AbfsInputStreamContext isReadAheadEnabled(boolean isReadAheadEnabled)
public AbfsInputStreamContext withReadAheadRange(int readAheadRange)
public AbfsInputStreamContext withStreamStatistics(AbfsInputStreamStatistics streamStatistics)
public AbfsInputStreamContext withReadSmallFilesCompletely(boolean readSmallFilesCompletely)
public AbfsInputStreamContext withOptimizeFooterRead(boolean optimizeFooterRead)
public AbfsInputStreamContext withFooterReadBufferSize(int footerReadBufferSize)
public AbfsInputStreamContext withShouldReadBufferSizeAlways(boolean alwaysReadBufferSize)
public AbfsInputStreamContext withReadAheadBlockSize(int readAheadBlockSize)
public AbfsInputStreamContext withBufferedPreadDisabled(boolean bufferedPreadDisabled)
public AbfsInputStreamContext withAbfsBackRef(org.apache.hadoop.fs.impl.BackReference fsBackRef)
public AbfsInputStreamContext withEncryptionAdapter(ContextEncryptionAdapter contextEncryptionAdapter)
public AbfsInputStreamContext build()
public int getReadBufferSize()
public int getReadAheadQueueDepth()
public boolean isTolerateOobAppends()
public boolean isReadAheadEnabled()
public int getReadAheadRange()
public AbfsInputStreamStatistics getStreamStatistics()
public boolean readSmallFilesCompletely()
public boolean optimizeFooterRead()
public int getFooterReadBufferSize()
public boolean shouldReadBufferSizeAlways()
public int getReadAheadBlockSize()
public boolean isBufferedPreadDisabled()
public org.apache.hadoop.fs.impl.BackReference getFsBackRef()
public ContextEncryptionAdapter getEncryptionAdapter()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.