profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/wolf4ood/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Enrico Risa wolf4ood @primait Italy

wolf4ood/gremlin-rs 70

Gremlin Rust

tglman/orientdb-c 41

The C client of OrientDB

tglman/valipse 4

Vala plugin for eclipse

RustRome/songkick-api 2

SongKick API Client written in Rust

primait/bridge.rs 1

Prima bridge pattern implementation for rust

release ruma/ruma

ruma-common-0.5.4

released time in a day

Pull request review commentrusterlium/rustler

Add UPGRADE.md for v0.22

+# Upgrade++This document here is intended to simplify upgrading to newer versions by extending the changelog.++## 0.21 -> 0.22++0.22 changes how to define NIFs. Users upgrading to 0.22 should to do two things:++1. Replace `rustler::rustler_export_nifs!` with `rustler::init!`

I think it's good! I think keeping it all in one place will save some time for those looking to upgrade :) Great work 👍

evnu

comment created time in a day

Pull request review commentrusterlium/rustler

Add UPGRADE.md for v0.22

+# Upgrade++This document here is intended to simplify upgrading to newer versions by extending the changelog.

This document is intended...

evnu

comment created time in a day

Pull request review commentrusterlium/rustler

Add UPGRADE.md for v0.22

+# Upgrade++This document here is intended to simplify upgrading to newer versions by extending the changelog.++## 0.21 -> 0.22++0.22 changes how to define NIFs. Users upgrading to 0.22 should to do these things:++1. Replace `rustler_atoms!` with `rustler::atoms!`+2. Replace `resource_struct_init!` with `rustler::resource!`+3. Replace `rustler::rustler_export_nifs!` with `rustler::init!`+4. Use the new `rustler::nif` proc_macro to declare NIFs++Replacing `rustler_atoms!` with `rustler::atoms!` is fairly simple and already+sufficiently described in [CHANGELOG.md](./CHANGELOG.md). Similarly, replacing+`resource_struct_init!` with `rustler::resource!` is a simple rename, so this does+not need additional examples here.++### Replace `rustler::rustler_export_nifs!` with `rustler::init!`++`rustler::init!` in combination with the new `rustler::nif` proc_macro+simplifies exporting NIFs. Before, the NIFs and their arity needed to be specified+using tuple syntax:++```rust+rustler::rustler_export_nifs! {+    "Elixir.Math",+    [+        ("add", 2, add),+	("long_running_operation", 0, long_running_operation, SchedulerFlags::DirtyCpu)+    ],+    None+}+```++Now, listing the NIFs directly is sufficient:++```rust+rustler::init!("Elixir.Math", [add, long_running_operation]);+```++With this new macro, defining an `on_load` function (e.g. to set up a resource with+`rustler::resource!`), is done like this:++```rust+rustler::init!("Elixir.Math", [add, long_running_operation], load = a_function);+```++Note that NIF flags such as `SchedulerFlags::DirtyCpu` are not declared in `rustler::init!`, but+using the proc_macro `rustler::nif`. See further below for information on migration NIF flags.++### Use the new `rustler::nif` proc_macro to declare NIFs++0.22 introduces a new `proc_macro` allowing to spell out the parameter of a NIF+directly instead of using an `args: &[Term<'a>]`. Lets consider an example `add()`,+where the Elixir function looks like this:++```elixir+def add(left, right), do: :erlang.nif_error(:not_loaded)+```++Previously, the signature of the corresponding NIF might have looked like this:++```rust+fn add<'a>(env: Env<'a>, args: &[Term<'a>]) -> Result<Term<'a>, Error>+```++When calling the NIF from Elixir as `add(1, 2)`, `args` would then contain two+`Term`, one for 1, and one for 2. With 0.22, this becomes more obvious, as the+NIFs signature resembles the Elixir function's signature:++```rust+#[rustler::nif]+fn add(a: i64, b: i64) -> i64+```++Under the hood, this is implemented by the `rustler::nif` proc_macro. For the+new form to work, the parameters' types need to implement `Decoder`, and the+return type needs to implement `Decoder`.

Encoder

evnu

comment created time in a day

push eventorientechnologies/orientdb

Luigi Dell'Aquila

commit sha 951b63ac85c5726e954f272ead5d3367c127d08a

Update views management

view details

push time in a day

push eventorientechnologies/orientdb

Luigi Dell'Aquila

commit sha 9137fe65be85f2776799ebed93262e9d97f64a36

Update views management

view details

push time in 2 days

release ruma/ruma

ruma-identifiers-0.19.3

released time in 2 days

Pull request review commentrusterlium/rustler

Add UPGRADE.md for v0.22

+# Upgrade++This document here is intended to simplify upgrading to newer versions by extending the changelog.++## 0.21 -> 0.22++0.22 changes how to define NIFs. Users upgrading to 0.22 should to do two things:++1. Replace `rustler::rustler_export_nifs!` with `rustler::init!`

I think atoms! and resource are quite well described in the changelog, but I added more information on rustler::init!, as well as how to migrate schedule flags and renames. What do you think?

(Also, thanks for reading this PR! :))

evnu

comment created time in 2 days

Pull request review commentrusterlium/rustler

Add UPGRADE.md for v0.22

+# Upgrade++This document here is intended to simplify upgrading to newer versions by extending the changelog.++## 0.21 -> 0.22++0.22 changes how to define NIFs. Users upgrading to 0.22 should to do two things:++1. Replace `rustler::rustler_export_nifs!` with `rustler::init!`

Maybe also note the change in atoms! and maybe resource/struct/etc?

evnu

comment created time in 2 days

Pull request review commentrusterlium/rustler

Add UPGRADE.md for v0.22

 All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +See `UPGRADE.md` for additional help when upgrading to newer versions.
See [`UPGRADE.md`](./UPGRADE.md) for additional help when upgrading to newer versions.

I think this should link to it :)

evnu

comment created time in 2 days

push eventorientechnologies/orientdb

Luigi Dell'Aquila

commit sha e9043530db106097f46fc31b3e4b1de64e91d25e

Implement DROP CLASS with parameter Resolves #9627

view details

push time in 2 days

issue closedorientechnologies/orientdb

ODatabaseSession().command(String query, Object... args) unsupport for DROP?

OrientDB Version: 3.2.0

Java Version: 8

maven dependency: orientdb-client 3.2.0

i want to drop class named "zzz"

can work:

        ODatabaseSession session = pool.acquire();
        OResultSet rs = session.command("drop class zzz");
        rs.close();

not work:

        ODatabaseSession session = pool.acquire();
        OResultSet rs = session.command("drop class ?" ,"zzz");
        rs.close();

is it unsupported ?

Exception in thread "main" com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error parsing query:
drop class ?
   ^
Encountered " <DROP> "drop "" at line 1, column 1.
Was expecting one of:
    <SELECT> ...
    <TRAVERSE> ...
    <MATCH> ...
    <INSERT> ...
    <RETURN> ...
    <FIND> ...
    <REBUILD> ...
    <OPTIMIZE> ...
    <GRANT> ...
    <REVOKE> ...
    <BEGIN> ...
    <COMMIT> ...
    <ROLLBACK> ...
    <IF> ...
    <SLEEP> ...
    <CONSOLE> ...
    <MOVE> ...
    <SELECT> ...
    <SELECT> ...
    <TRAVERSE> ...
    <MATCH> ...
    <FIND> ...
    <INSERT> ...
    <MOVE> ...
    
	DB name="cmdb"
	Error Code="1"
	DB name="cmdb"
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleException(OChannelBinaryAsynchClient.java:355)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:303)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:325)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:209)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:167)
	at com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:2006)
	at com.orientechnologies.orient.client.remote.OStorageRemote.lambda$networkOperationRetryTimeout$2(OStorageRemote.java:390)
	at com.orientechnologies.orient.client.remote.OStorageRemote.baseNetworkOperation(OStorageRemote.java:455)
	at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperationRetryTimeout(OStorageRemote.java:370)
	at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation(OStorageRemote.java:410)
	at com.orientechnologies.orient.client.remote.OStorageRemote.query(OStorageRemote.java:1098)
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote.query(ODatabaseDocumentRemote.java:379)
	at com.example.orientdbclient.OrientDBController.main(OrientDBController.java:27)


closed time in 2 days

tonglsh

push eventorientechnologies/orientdb

Luigi Dell'Aquila

commit sha bfe34dee1565e484da353f90b65a71db425932d4

Implement DROP CLASS with parameter Resolves #9627

view details

push time in 2 days

PR opened rusterlium/rustler

clippy: Allow breaking convention to avoid breaking change

This PR disables clippy::wrong-self-convention for two public functions:

error: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value
   --> rustler/src/types/binary.rs:245:21
    |
245 |     pub fn to_owned(&self) -> Option<OwnedBinary> {
    |                     ^^^^^
    |
    = note: `-D clippy::wrong-self-convention` implied by `-D warnings`
    = help: consider choosing a less ambiguous name
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
+2 -0

0 comment

1 changed file

pr created time in 2 days

pull request commentrusterlium/rustler

Add UPGRADE.md for v0.22

@scrogson @jeroenvisser101 Did I miss something which should also be explained?

evnu

comment created time in 2 days

PR opened rusterlium/rustler

Add UPGRADE.md for v0.22

This adds a new UPGRADE.md file, which can be used to explain how to migrate to new versions.

+53 -0

0 comment

2 changed files

pr created time in 2 days

issue commentorientechnologies/orientdb

ODatabaseSession().command(String query, Object... args) unsupport for DROP?

Oh yes, sorry, I got it... The problem is the parameter. No, it's not supported for DROP CLASS in the new SQL executor, but I can implement it right away, it's pretty easy. It will be in v 3.2.1

Thanks

Luigi

tonglsh

comment created time in 2 days

IssuesEvent

issue commentorientechnologies/orientdb

ODatabaseSession().command(String query, Object... args) unsupport for DROP?

wait please... db.command(String query, Object... args) throw the exception too.

tonglsh

comment created time in 2 days

issue closedorientechnologies/orientdb

ODatabaseSession().command(String query, Object... args) unsupport for DROP?

OrientDB Version: 3.2.0

Java Version: 8

maven dependency: orientdb-client 3.2.0

i want to drop class named "zzz"

can work:

        ODatabaseSession session = pool.acquire();
        OResultSet rs = session.query("drop class zzz");
        rs.close();

not work:

        ODatabaseSession session = pool.acquire();
        OResultSet rs = session.query("drop class ?" ,"zzz");
        rs.close();

is it unsupported ?

Exception in thread "main" com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error parsing query:
drop class ?
   ^
Encountered " <DROP> "drop "" at line 1, column 1.
Was expecting one of:
    <SELECT> ...
    <TRAVERSE> ...
    <MATCH> ...
    <INSERT> ...
    <RETURN> ...
    <FIND> ...
    <REBUILD> ...
    <OPTIMIZE> ...
    <GRANT> ...
    <REVOKE> ...
    <BEGIN> ...
    <COMMIT> ...
    <ROLLBACK> ...
    <IF> ...
    <SLEEP> ...
    <CONSOLE> ...
    <MOVE> ...
    <SELECT> ...
    <SELECT> ...
    <TRAVERSE> ...
    <MATCH> ...
    <FIND> ...
    <INSERT> ...
    <MOVE> ...
    
	DB name="cmdb"
	Error Code="1"
	DB name="cmdb"
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleException(OChannelBinaryAsynchClient.java:355)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:303)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:325)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:209)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:167)
	at com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:2006)
	at com.orientechnologies.orient.client.remote.OStorageRemote.lambda$networkOperationRetryTimeout$2(OStorageRemote.java:390)
	at com.orientechnologies.orient.client.remote.OStorageRemote.baseNetworkOperation(OStorageRemote.java:455)
	at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperationRetryTimeout(OStorageRemote.java:370)
	at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation(OStorageRemote.java:410)
	at com.orientechnologies.orient.client.remote.OStorageRemote.query(OStorageRemote.java:1098)
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote.query(ODatabaseDocumentRemote.java:379)
	at com.example.orientdbclient.OrientDBController.main(OrientDBController.java:27)


closed time in 2 days

tonglsh

issue commentorientechnologies/orientdb

ODatabaseSession().command(String query, Object... args) unsupport for DROP?

Hi @tonglsh

db.query() is only for queries that do not modify the state (ie. SELECT, TRAVERSE, MATCH...). For DROP you have to use db.command()

Thanks

Luigi

tonglsh

comment created time in 2 days

issue openedrusterlium/rustler

Stable version

When are you planning to release a stable version of the project? Currently, it's not possible to release stable versions of libraries that depend on pre-release version of the rustler.

> mix hex.publish
** (Mix) A stable package release cannot have a pre-release dependency

created time in 2 days

delete branch primait/bridge.rs

delete branch : dependabot/cargo/opentelemetry-gte-0.12.0-and-lt-0.15.0

delete time in 2 days

PR closed primait/bridge.rs

Update opentelemetry requirement from >=0.12.0, <0.14.0 to >=0.12.0, <0.15.0 dependencies

Updates the requirements on opentelemetry to permit the latest version. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/open-telemetry/opentelemetry-rust/commits">compare view</a></li> </ul> </details> <br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

+1 -1

1 comment

1 changed file

dependabot[bot]

pr closed time in 2 days

PR opened primait/bridge.rs

Update opentelemetry requirement from >=0.12.0, <0.14.0 to >=0.12.0, <0.16.0

Updates the requirements on opentelemetry to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-rust/releases">opentelemetry's releases</a>.</em></p> <blockquote> <h2>v0.15.0</h2> <h3>Added</h3> <ul> <li>More resource detectors <a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/573">#573</a></li> </ul> <h3>Changed</h3> <ul> <li>Expose the Error type to allow users to set custom error handlers <a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/551">#551</a></li> <li>Allow users to use different channels based on runtime in batch span processor <a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/560">#560</a></li> <li>Move <code>Unit</code> into <code>metrics</code> module <a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/564">#564</a></li> <li>Update trace flags to match spec <a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/565">#565</a></li> </ul> <h3>Fixed</h3> <ul> <li>Fix debug loop, add notes for <code>#[tokio::test]</code> <a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/552">#552</a></li> <li><code>TraceState</code> cannot insert new key-value pairs <a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/567">#567</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/d7ba1ea4f7a962504e9862ced04eb44da134fc6b"><code>d7ba1ea</code></a> Prepare for v0.15.0 release (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/572">#572</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/6834b6419250fa77a36c2430d171f4362473c5ec"><code>6834b64</code></a> feat: add more resource detectors (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/573">#573</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/efbc842c11ab416309032ae794c09f6edd851be7"><code>efbc842</code></a> semantic-conventions: update to v1.4.0 spec (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/570">#570</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/d70a537548c0b31fbf8ad8457b0609f5d5747564"><code>d70a537</code></a> Update example and optional dependencies (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/568">#568</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/a2dd6e777984233827956185a85fb6c92efcd5d1"><code>a2dd6e7</code></a> fix: TraceState cannot insert new key-value pairs. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/567">#567</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/dc7d81fdfa9b99bf78f73724f81d3b1635b975cf"><code>dc7d81f</code></a> Update trace flags to match spec (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/565">#565</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/635f10e15d0becfd1643edbdea46c276c24695ec"><code>635f10e</code></a> Move unit into metrics module (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/564">#564</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/99e51c1980076315f8b6933992122768baba886c"><code>99e51c1</code></a> Update lib and tracing module docs with examples (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/563">#563</a>)</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/1ca62d337ecfab701cc2f58ca315b3f4f089a365"><code>1ca62d3</code></a> feat: allow users to use different channels based on runtime in batch span pr...</li> <li><a href="https://github.com/open-telemetry/opentelemetry-rust/commit/fb576b0e71e2c514ad1616d9d4932fbd35703bef"><code>fb576b0</code></a> move hyper prometheus example into something runnable (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-rust/issues/562">#562</a>)</li> <li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-rust/compare/opentelemetry-jaeger-0.12.1...v0.15.0">compare view</a></li> </ul> </details> <br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

+1 -1

0 comment

1 changed file

pr created time in 2 days

issue openedorientechnologies/orientdb

ODatabaseSession().command(String query, Object... args) unsupport for DROP?

OrientDB Version: 3.2.0

Java Version: 8

maven dependency: orientdb-client 3.2.0

i want to drop class named "zzz"

can work:

        ODatabaseSession session = pool.acquire();
        OResultSet rs = session.query("drop class zzz");
        rs.close();

not work:

        ODatabaseSession session = pool.acquire();
        OResultSet rs = session.query("drop class ?" ,"zzz");
        rs.close();

is it unsupported ?

Exception in thread "main" com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error parsing query:
drop class ?
   ^
Encountered " <DROP> "drop "" at line 1, column 1.
Was expecting one of:
    <SELECT> ...
    <TRAVERSE> ...
    <MATCH> ...
    <INSERT> ...
    <RETURN> ...
    <FIND> ...
    <REBUILD> ...
    <OPTIMIZE> ...
    <GRANT> ...
    <REVOKE> ...
    <BEGIN> ...
    <COMMIT> ...
    <ROLLBACK> ...
    <IF> ...
    <SLEEP> ...
    <CONSOLE> ...
    <MOVE> ...
    <SELECT> ...
    <SELECT> ...
    <TRAVERSE> ...
    <MATCH> ...
    <FIND> ...
    <INSERT> ...
    <MOVE> ...
    
	DB name="cmdb"
	Error Code="1"
	DB name="cmdb"
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleException(OChannelBinaryAsynchClient.java:355)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:303)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:325)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:209)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:167)
	at com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:2006)
	at com.orientechnologies.orient.client.remote.OStorageRemote.lambda$networkOperationRetryTimeout$2(OStorageRemote.java:390)
	at com.orientechnologies.orient.client.remote.OStorageRemote.baseNetworkOperation(OStorageRemote.java:455)
	at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperationRetryTimeout(OStorageRemote.java:370)
	at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation(OStorageRemote.java:410)
	at com.orientechnologies.orient.client.remote.OStorageRemote.query(OStorageRemote.java:1098)
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote.query(ODatabaseDocumentRemote.java:379)
	at com.example.orientdbclient.OrientDBController.main(OrientDBController.java:27)


created time in 2 days