code: private static SQLPatternPart makeInnerStreamModifierClausePattern(boolean captureTokens)
      {
          return
              SPF.oneOf(
                  SPF.clause(
                      SPF.token("export"),SPF.token("to"),SPF.token("target"),
                      SPF.group(captureTokens,  SPF.databaseObjectName())
                  ),
                  SPF.clause(
                      SPF.token("partition"), SPF.token("on"), SPF.token("column"),
                      SPF.group(captureTokens, SPF.databaseObjectName())
                  )
              );
      }
docs: Build a pattern segment to accept a single optional EXPORT or PARTITION clause
  to modify CREATE STREAM statements.
  
  @param captureTokens  Capture individual tokens if true
  @return               Inner pattern to be wrapped by the caller as appropriate
  
  Capture groups (when captureTokens is true):
  (1) EXPORT clause: target name
  (2) PARTITION clause: column name