public class MazeTable
extends org.apache.calcite.schema.impl.AbstractTable
implements org.apache.calcite.schema.ScannableTable
| Modifier and Type | Method and Description |
|---|---|
static org.apache.calcite.schema.ScannableTable |
generate(int width,
int height,
int seed)
Table function that generates a maze.
|
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
org.apache.calcite.linq4j.Enumerable<Object[]> |
scan(org.apache.calcite.DataContext root) |
static org.apache.calcite.schema.ScannableTable |
solve(int width,
int height,
int seed)
Table function that generates a maze with a solution.
|
getJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static org.apache.calcite.schema.ScannableTable generate(int width,
int height,
int seed)
Called by reflection based on the definition of the user-defined function in the schema.
width - Width of mazeheight - Height of mazeseed - Random number seed, or -1 to create an unseeded randompublic static org.apache.calcite.schema.ScannableTable solve(int width,
int height,
int seed)
Called by reflection based on the definition of the user-defined function in the schema.
width - Width of mazeheight - Height of mazeseed - Random number seed, or -1 to create an unseeded randompublic org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType in interface org.apache.calcite.schema.Tablepublic org.apache.calcite.linq4j.Enumerable<Object[]> scan(org.apache.calcite.DataContext root)
scan in interface org.apache.calcite.schema.ScannableTableCopyright © 2012-2025 Apache Software Foundation. All Rights Reserved.