Search in sources :

Example 1 with DataSourceType

use of io.confluent.ksql.metastore.model.DataSource.DataSourceType in project ksql by confluentinc.

the class JoinNode method calculateSinkType.

private static DataSourceType calculateSinkType(final PlanNode left, final PlanNode right) {
    final DataSourceType leftType = left.getNodeOutputType();
    final DataSourceType rightType = right.getNodeOutputType();
    return leftType == DataSourceType.KTABLE && rightType == DataSourceType.KTABLE ? DataSourceType.KTABLE : DataSourceType.KSTREAM;
}
Also used : DataSourceType(io.confluent.ksql.metastore.model.DataSource.DataSourceType)

Aggregations

DataSourceType (io.confluent.ksql.metastore.model.DataSource.DataSourceType)1