Package io.github.fupacat.ast
Class CredentialStatement
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.TSqlStatement
io.github.fupacat.ast.CredentialStatement
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlterCredentialStatement,CreateCredentialStatement
Represents common parts of ALTER and CREATE CREDENTIAL statement
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionSpecifies the name of the account to be used when connecting outside the server.booleanWhether the credential is database scoped or not.Credential nameSpecifies the secret required for outgoing authentication.Fields inherited from class io.github.fupacat.ast.TSqlFragment
firstTokenIndex, lastTokenIndex, ScriptTokenStream, Value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TSqlFragmentVisitor visitor) voidacceptChildren(TSqlFragmentVisitor visitor) Methods inherited from class io.github.fupacat.ast.TSqlFragment
SetIdentifier, SetUnquotedIdentifier, UpdateTokenInfo, UpdateTokenInfo
-
Field Details
-
Name
Credential name -
Identity
Specifies the name of the account to be used when connecting outside the server. -
Secret
Specifies the secret required for outgoing authentication. This clause is optional. -
IsDatabaseScoped
public boolean IsDatabaseScopedWhether the credential is database scoped or not.
-
-
Constructor Details
-
CredentialStatement
public CredentialStatement()
-
-
Method Details
-
accept
- Overrides:
acceptin classTSqlStatement
-
acceptChildren
- Overrides:
acceptChildrenin classTSqlStatement
-