public class EncodingPredictor extends Object
Predicts encoding for error messages based on some heuristics.
| Modifier and Type | Class and Description |
|---|---|
static class |
EncodingPredictor.DecodeResult
In certain cases the encoding is not known for sure (e.g.
|
| Constructor and Description |
|---|
EncodingPredictor() |
| Modifier and Type | Method and Description |
|---|---|
static EncodingPredictor.DecodeResult |
decode(byte[] bytes,
int offset,
int length,
RedshiftLogger logger) |
public static EncodingPredictor.DecodeResult decode(byte[] bytes, int offset, int length, RedshiftLogger logger)
Copyright © 2024 Amazon.com Inc.. All rights reserved.