test_class.file: shardingsphere-sql-parser/shardingsphere-sql-parser-binder/src/test/java/org/apache/shardingsphere/sql/parser/binder/segment/select/pagination/engine/LimitPaginationContextEngineTest.java
test_class.identifier: LimitPaginationContextEngineTest
test_case.body: @Test
      public void assertPaginationContextCreatedProperlyWhenPaginationValueSegmentIsNumberLiteralPaginationValueSegment() {
          LimitSegment limitSegment = new LimitSegment(0, 10, new NumberLiteralLimitValueSegment(0, 10, 1L), new NumberLiteralLimitValueSegment(10, 20, 2L));
          PaginationContext paginationContext = new LimitPaginationContextEngine().createPaginationContext(limitSegment, Collections.emptyList());
          assertTrue(paginationContext.isHasPagination());
      }
test_case.class_method_signature: LimitPaginationContextEngineTest.assertPaginationContextCreatedProperlyWhenPaginationValueSegmentIsNumberLiteralPaginationValueSegment()
test_case.full_signature: @Test public void assertPaginationContextCreatedProperlyWhenPaginationValueSegmentIsNumberLiteralPaginationValueSegment()
test_case.identifier: assertPaginationContextCreatedProperlyWhenPaginationValueSegmentIsNumberLiteralPaginationValueSegment
test_case.invocations: createPaginationContext emptyList assertTrue isHasPagination
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertPaginationContextCreatedProperlyWhenPaginationValueSegmentIsNumberLiteralPaginationValueSegment()
focal_class.file: shardingsphere-sql-parser/shardingsphere-sql-parser-binder/src/main/java/org/apache/shardingsphere/sql/parser/binder/segment/select/pagination/engine/LimitPaginationContextEngine.java
focal_class.identifier: LimitPaginationContextEngine
focal_class.class_method_signature: LimitPaginationContextEngine.createPaginationContext(final LimitSegment limitSegment, final List<Object> parameters)
focal_class.full_signature: public PaginationContext createPaginationContext(final LimitSegment limitSegment, final List<Object> parameters)
focal_class.identifier: createPaginationContext
focal_class.modifiers: public
focal_class.parameters: (final LimitSegment limitSegment, final List<Object> parameters)
focal_class.return: PaginationContext
focal_class.signature: PaginationContext createPaginationContext(final LimitSegment limitSegment, final List<Object> parameters)
focal_method.body: public PaginationContext createPaginationContext(final LimitSegment limitSegment, final List<Object> parameters) {
          return new PaginationContext(limitSegment.getOffset().orElse(null), limitSegment.getRowCount().orElse(null), parameters);
      }
focal_method.class_method_signature: LimitPaginationContextEngine.createPaginationContext(final LimitSegment limitSegment, final List<Object> parameters)
focal_method.full_signature: public PaginationContext createPaginationContext(final LimitSegment limitSegment, final List<Object> parameters)
focal_method.identifier: createPaginationContext
focal_method.invocations: orElse getOffset orElse getRowCount
focal_method.modifiers: public
focal_method.parameters: (final LimitSegment limitSegment, final List<Object> parameters)
focal_method.return: PaginationContext
focal_method.signature: PaginationContext createPaginationContext(final LimitSegment limitSegment, final List<Object> parameters)