Class ClientBufferParameters
- java.lang.Object
-
- net.snowflake.ingest.streaming.internal.ClientBufferParameters
-
public class ClientBufferParameters extends Object
Channel's buffer relevant parameters that are set at the owning client level.
-
-
Constructor Summary
Constructors Constructor Description ClientBufferParameters(SnowflakeStreamingIngestClientInternal clientInternal)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Constants.BdecParquetCompressiongetBdecParquetCompression()booleangetIsIcebergMode()longgetMaxAllowedRowSizeInBytes()longgetMaxChunkSizeInBytes()Optional<Integer>getMaxRowGroups()StringgetParquetMessageTypeName()booleanisEnableNewJsonParsingLogic()static ClientBufferParameterstest_createClientBufferParameters(long maxChunkSizeInBytes, long maxAllowedRowSizeInBytes, Constants.BdecParquetCompression bdecParquetCompression, boolean enableNewJsonParsingLogic, Optional<Integer> maxRowGroups, boolean isIcebergMode)
-
-
-
Constructor Detail
-
ClientBufferParameters
public ClientBufferParameters(SnowflakeStreamingIngestClientInternal clientInternal)
- Parameters:
clientInternal- reference to the client object where the relevant parameters are set
-
-
Method Detail
-
test_createClientBufferParameters
public static ClientBufferParameters test_createClientBufferParameters(long maxChunkSizeInBytes, long maxAllowedRowSizeInBytes, Constants.BdecParquetCompression bdecParquetCompression, boolean enableNewJsonParsingLogic, Optional<Integer> maxRowGroups, boolean isIcebergMode)
- Parameters:
maxChunkSizeInBytes- maximum chunk size in bytesmaxAllowedRowSizeInBytes- maximum row size in bytesisIcebergMode-- Returns:
- ClientBufferParameters object
-
getMaxChunkSizeInBytes
public long getMaxChunkSizeInBytes()
-
getMaxAllowedRowSizeInBytes
public long getMaxAllowedRowSizeInBytes()
-
getBdecParquetCompression
public Constants.BdecParquetCompression getBdecParquetCompression()
-
isEnableNewJsonParsingLogic
public boolean isEnableNewJsonParsingLogic()
-
getIsIcebergMode
public boolean getIsIcebergMode()
-
getParquetMessageTypeName
public String getParquetMessageTypeName()
-
-