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;
}
Aggregations