| Package | Description |
|---|---|
| io.prestosql.operator.scalar | |
| io.prestosql.util |
| Modifier and Type | Method and Description |
|---|---|
static Block |
JsonToArrayCast.toArray(ArrayType arrayType,
JsonUtil.BlockBuilderAppender elementAppender,
ConnectorSession connectorSession,
io.airlift.slice.Slice json) |
static Block |
JsonToMapCast.toMap(MapType mapType,
JsonUtil.BlockBuilderAppender keyAppender,
JsonUtil.BlockBuilderAppender valueAppender,
ConnectorSession connectorSession,
io.airlift.slice.Slice json) |
static Block |
JsonToRowCast.toRow(RowType rowType,
JsonUtil.BlockBuilderAppender[] fieldAppenders,
Optional<Map<String,Integer>> fieldNameToIndex,
ConnectorSession connectorSession,
io.airlift.slice.Slice json) |
| Modifier and Type | Method and Description |
|---|---|
static JsonUtil.BlockBuilderAppender |
JsonUtil.BlockBuilderAppender.createBlockBuilderAppender(Type type) |
| Modifier and Type | Method and Description |
|---|---|
static void |
JsonUtil.parseJsonToSingleRowBlock(com.fasterxml.jackson.core.JsonParser parser,
SingleRowBlockWriter singleRowBlockWriter,
JsonUtil.BlockBuilderAppender[] fieldAppenders,
Optional<Map<String,Integer>> fieldNameToIndex) |
Copyright © 2012–2019. All rights reserved.