public abstract class AbstractSQLStatement extends Object implements SQLStatement
| Constructor and Description |
|---|
AbstractSQLStatement() |
| Modifier and Type | Method and Description |
|---|---|
<T extends SQLSegment> |
findSQLSegment(Class<T> sqlSegmentType)
Find SQL segment.
|
<T extends SQLSegment> |
findSQLSegments(Class<T> sqlSegmentType)
Find SQL segment.
|
Collection<SQLSegment> |
getAllSQLSegments()
Get all SQL segments.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParametersCountpublic final Collection<SQLSegment> getAllSQLSegments()
SQLStatementgetAllSQLSegments in interface SQLStatementpublic final <T extends SQLSegment> com.google.common.base.Optional<T> findSQLSegment(Class<T> sqlSegmentType)
SQLStatementfindSQLSegment in interface SQLStatementT - type of SQL segmentsqlSegmentType - SQL segment typepublic final <T extends SQLSegment> Collection<T> findSQLSegments(Class<T> sqlSegmentType)
SQLStatementfindSQLSegments in interface SQLStatementT - type of SQL segmentsqlSegmentType - SQL segment typeCopyright © 2020 The Apache Software Foundation. All rights reserved.