void delete() {
        String schema = getSchema().getName();
        String tableName = EDGE_PREFIX + getLabel();

        SqlDialect sqlDialect = this.sqlgGraph.getSqlDialect();
        sqlDialect.assertTableName(tableName);
        StringBuilder sql = new StringBuilder("DROP TABLE IF EXISTS ");
        sql.append(sqlDialect.maybeWrapInQoutes(schema));
        sql.append(".");
        sql.append(sqlDialect.maybeWrapInQoutes(tableName));
        if (sqlDialect.supportsCascade()) {
            sql.append(" CASCADE");
        }
        if (logger.isDebugEnabled()) {
            logger.debug(sql.toString());
        }
        if (sqlDialect.needsSemicolon()) {
            sql.append(";");
        }
        Connection conn = sqlgGraph.tx().getConnection();
        try (Statement stmt = conn.createStatement()) {
            stmt.execute(sql.toString());
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }
    }
void delete ( ) { String schema = getSchema ( ) . getName ( ) ; String tableName = EDGE_PREFIX + getLabel ( ) ; SqlDialect sqlDialect = this . sqlgGraph . getSqlDialect ( ) ; sqlDialect . assertTableName ( tableName ) ; StringBuilder sql = new StringBuilder ( "DROP TABLE IF EXISTS " ) ; sql . append ( sqlDialect . maybeWrapInQoutes ( schema ) ) ; sql . append ( "." ) ; sql . append ( sqlDialect . maybeWrapInQoutes ( tableName ) ) ; if ( sqlDialect . supportsCascade ( ) ) { sql . append ( " CASCADE" ) ; } if ( logger . isDebugEnabled ( ) ) { logger . debug ( sql . toString ( ) ) ; } if ( sqlDialect . needsSemicolon ( ) ) { sql . append ( ";" ) ; } Connection conn = sqlgGraph . tx ( ) . getConnection ( ) ; try ( Statement stmt = conn . createStatement ( ) ) { stmt . execute ( sql . toString ( ) ) ; } catch ( SQLException e ) { throw new RuntimeException ( e ) ; } }
delete the table