MCPcopy Create free account
hub / github.com/apache/calcite / tuples

Method tuples

piglet/src/main/java/org/apache/calcite/piglet/Handler.java:188–196  ·  view source on GitHub ↗
(
      Ast.ValuesStmt valuesStmt, RelDataType rowType)

Source from the content-addressed store, hash-verified

186 }
187
188 private ImmutableList<ImmutableList<RexLiteral>> tuples(
189 Ast.ValuesStmt valuesStmt, RelDataType rowType) {
190 final ImmutableList.Builder<ImmutableList<RexLiteral>> listBuilder =
191 ImmutableList.builder();
192 for (List<Ast.Node> nodeList : valuesStmt.tupleList) {
193 listBuilder.add(tuple(nodeList, rowType));
194 }
195 return listBuilder.build();
196 }
197
198 private ImmutableList<RexLiteral> tuple(List<Ast.Node> nodeList,
199 RelDataType rowType) {

Callers 1

handleMethod · 0.95

Calls 4

tupleMethod · 0.95
builderMethod · 0.65
addMethod · 0.65
buildMethod · 0.65

Tested by

no test coverage detected