Safe Haskell | None |
---|---|
Language | Haskell2010 |
- statementParser :: Parser (VerticaStatement RawNames Range)
- parse :: Text -> Either ParseError (VerticaStatement RawNames Range)
- parseAll :: Text -> Either ParseError (VerticaStatement RawNames Range)
- parseMany :: Text -> Either ParseError [VerticaStatement RawNames Range]
- parseManyAll :: Text -> Either ParseError [VerticaStatement RawNames Range]
- parseManyEithers :: Text -> Either ParseError [Either (Unparsed Range) (VerticaStatement RawNames Range)]
- optionBool :: Parser a -> Parser Bool
- statementP :: Parser (Statement Vertica RawNames Range)
- oqColumnNameP :: Parser (OQColumnName Range)
- insertP :: Parser (Insert RawNames Range)
- defaultExprP :: Parser (DefaultExpr RawNames Range)
- deleteP :: Parser (Delete RawNames Range)
- truncateP :: Parser (Truncate RawNames Range)
- querySelectP :: Parser (Query RawNames Range)
- queryP :: Parser (Query RawNames Range)
- distinctP :: Parser Distinct
- explainP :: Parser (Statement Vertica RawNames Range)
- columnAliasP :: Parser (ColumnAlias Range)
- alterTableP :: Parser (AlterTable RawNames Range)
- createSchemaPrefixP :: Parser Range
- ifNotExistsP :: Parser (Maybe Range)
- ifExistsP :: Parser Range
- createSchemaP :: Parser (CreateSchema RawNames Range)
- createTableColumnsP :: Parser (TableDefinition Vertica RawNames Range)
- createExternalTablePrefixP :: Parser (Range, Externality Range)
- createExternalTableP :: Parser (CreateTable Vertica RawNames Range)
- createViewPrefixP :: Parser (Range, Maybe Range, Persistence Range)
- schemaPrivilegesP :: Parser Range
- createViewP :: Parser (CreateView RawNames Range)
- createTableP :: Parser (CreateTable Vertica RawNames Range)
- dropViewPrefixP :: Parser Range
- dropViewP :: Parser (DropView RawNames Range)
- dropTableP :: Parser (DropTable RawNames Range)
- grantP :: Parser (Grant Range)
- revokeP :: Parser (Revoke Range)
- beginP :: Parser Range
- commitP :: Parser Range
- rollbackP :: Parser Range
- nodeListP :: Parser (NodeList Range)
- nodeListOffsetP :: Parser (NodeListOffset Range)
- nodeNameP :: Parser (Node Range)
- integerP :: Parser (Int, Range)
- selectP :: Parser (Select RawNames Range)
- handlePositionalReferences :: Expr RawNames Range -> PositionOrExpr RawNames Range
- selectStarP :: Parser (Selection RawNames Range)
- selectionP :: Parser (Selection RawNames Range)
- makeColumnAlias :: Range -> Text -> Parser (ColumnAlias Range)
- makeTableAlias :: Range -> Text -> Parser (TableAlias Range)
- makeDummyAlias :: Range -> Parser (ColumnAlias Range)
- makeExprAlias :: Expr RawNames Range -> Parser (ColumnAlias Range)
- aliasP :: Expr RawNames Range -> Parser (ColumnAlias Range)
- exprP :: Parser (Expr RawNames Range)
- parenExprP :: Parser (Expr RawNames Range)
- subqueryExprP :: Parser (Expr RawNames Range)
- caseExprP :: Parser (Expr RawNames Range)
- fieldTypeP :: Parser (Expr RawNames Range)
- functionExprP :: Parser (Expr RawNames Range)
- orderTopLevelP :: Parser (Range, [Order RawNames Range])
- orderInWindowClauseP :: Parser [Order RawNames Range]
- orderExprP :: Bool -> Bool -> Parser (Range, [Order RawNames Range])
- directionP :: Parser (OrderDirection (Maybe Range))
- nullsP :: Parser (NullPosition (Maybe Range))
- frameP :: Parser (Frame Range)
- frameBoundP :: Parser (FrameBound Range)
- overP :: Parser (OverSubExpr RawNames Range)
- windowExprP :: Range -> Parser (WindowExpr RawNames Range)
- partialWindowExprP :: Range -> Parser (PartialWindowExpr RawNames Range)
- windowNameP :: Parser (WindowName Range)
- partitionP :: Parser (Partition RawNames Range)
- existsExprP :: Parser (Expr RawNames Range)
- arrayExprP :: Parser (Expr RawNames Range)
- castExprP :: Parser (Expr RawNames Range)
- atTimeZoneExprP :: Parser (Expr RawNames Range)
- unOpP :: Text -> Parser (Expr RawNames Range -> Expr RawNames Range)
- negateExprP :: Parser (Expr RawNames Range)
- binOpP :: Text -> Parser (Expr RawNames Range -> Expr RawNames Range -> Expr RawNames Range)
- exponentExprP :: Parser (Expr RawNames Range)
- productExprP :: Parser (Expr RawNames Range)
- sumExprP :: Parser (Expr RawNames Range)
- notP :: Parser (Expr RawNames Range -> Expr RawNames Range)
- isExprP :: Parser (Expr RawNames Range)
- appendExprP :: Parser (Expr RawNames Range)
- inExprP :: Parser (Expr RawNames Range)
- betweenExprP :: Parser (Expr RawNames Range)
- overlapsExprP :: Parser (Expr RawNames Range)
- likeExprP :: Parser (Expr RawNames Range)
- mkBinOp :: (Text, a) -> Expr r a -> Expr r a -> Expr r a
- inequalityExprP :: Parser (Expr RawNames Range)
- equalityExprP :: Parser (Expr RawNames Range)
- notExprP :: Parser (Expr RawNames Range)
- andExprP :: Parser (Expr RawNames Range)
- orExprP :: Parser (Expr RawNames Range)
- singleTableP :: Parser (Tablish RawNames Range)
- optionalParensP :: Parser a -> Parser a
- manyParensP :: Parser a -> Parser a
- tablishP :: Parser (Tablish RawNames Range)
- joinP :: Parser (Tablish RawNames Range -> Tablish RawNames Range)
- regularJoinP :: Parser (Tablish RawNames Range -> Tablish RawNames Range)
- outerJoinTypeP :: Parser (JoinType Range)
- innerJoinTypeP :: Parser (JoinType Range)
- naturalJoinP :: Parser (Tablish RawNames Range -> Tablish RawNames Range)
- crossJoinP :: Parser (Tablish RawNames Range -> Tablish RawNames Range)
- createProjectionPrefixP :: Parser Range
- createProjectionP :: Parser (CreateProjection RawNames Range)
- multipleRenameP :: Parser (MultipleRename RawNames Range)
- setSchemaP :: Parser (SetSchema RawNames Range)
- renameProjectionP :: Parser Range
- alterResourcePoolPrefixP :: Parser Range
- alterResourcePoolP :: Parser Range
- createResourcePoolPrefixP :: Parser Range
- createResourcePoolP :: Parser Range
- dropResourcePoolPrefixP :: Parser Range
- dropResourcePoolP :: Parser Range
- createFunctionPrefixP :: Parser Range
- createFunctionP :: Parser Range
- alterTableAddConstraintP :: Parser Range
- tableConstraintP :: Parser Range
- exportToStdoutP :: Parser Range
- setSessionPrefixP :: Parser Range
- setSessionP :: Parser Range
- setTimeZoneP :: Parser Range
- connectP :: Parser Range
- disconnectP :: Parser Range
- createAccessPolicyP :: Parser Range
- copyFromP :: Parser Range
- showP :: Parser Range
- mergeP :: Parser (Merge RawNames Range)
Documentation
parse :: Text -> Either ParseError (VerticaStatement RawNames Range) Source #
parse consumes a statement, or fails
parseAll :: Text -> Either ParseError (VerticaStatement RawNames Range) Source #
parseAll consumes all input as a single statement, or fails
parseMany :: Text -> Either ParseError [VerticaStatement RawNames Range] Source #
parseMany consumes multiple statements, or fails
parseManyAll :: Text -> Either ParseError [VerticaStatement RawNames Range] Source #
parseManyAll consumes all input multiple statements, or fails
parseManyEithers :: Text -> Either ParseError [Either (Unparsed Range) (VerticaStatement RawNames Range)] Source #
parseManyEithers consumes all input as multiple (statements or failures) it should never fail
makeColumnAlias :: Range -> Text -> Parser (ColumnAlias Range) Source #
makeTableAlias :: Range -> Text -> Parser (TableAlias Range) Source #
makeDummyAlias :: Range -> Parser (ColumnAlias Range) Source #
makeExprAlias :: Expr RawNames Range -> Parser (ColumnAlias Range) Source #
directionP :: Parser (OrderDirection (Maybe Range)) Source #
frameBoundP :: Parser (FrameBound Range) Source #
windowExprP :: Range -> Parser (WindowExpr RawNames Range) Source #
windowNameP :: Parser (WindowName Range) Source #
binOpP :: Text -> Parser (Expr RawNames Range -> Expr RawNames Range -> Expr RawNames Range) Source #
optionalParensP :: Parser a -> Parser a Source #
manyParensP :: Parser a -> Parser a Source #