use of io.confluent.ksql.execution.streams.materialization.StreamsMaterializedWindowedTable in project ksql by confluentinc.
the class KsMaterializationTest method shouldReturnWindowedForSession.
@Test
public void shouldReturnWindowedForSession() {
// Given:
givenWindowType(Optional.of(WindowType.SESSION));
// When:
final StreamsMaterializedWindowedTable table = materialization.windowed();
// Then:
assertThat(table, is(instanceOf(KsMaterializedSessionTable.class)));
}
use of io.confluent.ksql.execution.streams.materialization.StreamsMaterializedWindowedTable in project ksql by confluentinc.
the class KsMaterializationTest method shouldReturnWindowedForTumbling.
@Test
public void shouldReturnWindowedForTumbling() {
// Given:
givenWindowType(Optional.of(WindowType.TUMBLING));
// When:
final StreamsMaterializedWindowedTable table = materialization.windowed();
// Then:
assertThat(table, is(instanceOf(KsMaterializedWindowTable.class)));
}
use of io.confluent.ksql.execution.streams.materialization.StreamsMaterializedWindowedTable in project ksql by confluentinc.
the class KsMaterializationTest method shouldReturnWindowedForHopping.
@Test
public void shouldReturnWindowedForHopping() {
// Given:
givenWindowType(Optional.of(WindowType.HOPPING));
// When:
final StreamsMaterializedWindowedTable table = materialization.windowed();
// Then:
assertThat(table, is(instanceOf(KsMaterializedWindowTable.class)));
}
Aggregations