public interface RequiresFallback
FallbackValuesWriter| Modifier and Type | Method and Description |
|---|---|
void |
fallBackAllValuesTo(ValuesWriter writer)
When falling back to a different encoding we must re-encode all the values seen so far
|
boolean |
isCompressionSatisfying(long rawSize,
long encodedSize)
Before writing the first page we will verify if the encoding is worth it.
|
boolean |
shouldFallBack()
In the case of a dictionary based encoding we will fallback if the dictionary becomes too big
|
boolean shouldFallBack()
boolean isCompressionSatisfying(long rawSize,
long encodedSize)
rawSize - the size if encoded with plainencodedSize - the size as encoded by the current encodingvoid fallBackAllValuesTo(ValuesWriter writer)
writer - the new encoder to write the current values toCopyright © 2023 The Apache Software Foundation. All rights reserved.