Codota Logo
AlterTableStatement.setDropPrimaryKey
Code IndexAdd Codota to your IDE (free)

How to use
setDropPrimaryKey
method
in
org.apache.shardingsphere.core.parsing.antlr.sql.statement.ddl.AlterTableStatement

Best Java code snippets using org.apache.shardingsphere.core.parsing.antlr.sql.statement.ddl.AlterTableStatement.setDropPrimaryKey (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: apache/incubator-shardingsphere

  @Override
  public void fill(final DropPrimaryKeySegment sqlSegment, final SQLStatement sqlStatement, final String sql, final ShardingRule shardingRule, final ShardingTableMetaData shardingTableMetaData) {
    ((AlterTableStatement) sqlStatement).setDropPrimaryKey(true);
  }
}
org.apache.shardingsphere.core.parsing.antlr.sql.statement.ddlAlterTableStatementsetDropPrimaryKey

Popular methods of AlterTableStatement

  • getTables
  • getNewTableName
    Get new table name.
  • findColumnDefinition
    Find column definition.
  • findColumnDefinitionFromCurrentAddClause
  • findColumnDefinitionFromMetaData
    Find column definition from meta data.
  • getAddedColumnDefinitions
  • getChangedPositionColumns
  • getDroppedColumnNames
  • getModifiedColumnDefinitions
  • isDropPrimaryKey
  • setNewTableName
  • setNewTableName

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • addToBackStack (FragmentTransaction)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now