Skip to content

Commit

Permalink
Move implementation and utility classes to .impl package
Browse files Browse the repository at this point in the history
fixes #3
  • Loading branch information
lucifer4j committed Aug 8, 2023
1 parent bf82d7e commit 3e93f98
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import org.apache.pinot.client.*;

import io.reactiverse.pinot.client.impl.VertxConnectionImpl;
import io.vertx.codegen.annotations.GenIgnore;
import io.vertx.codegen.annotations.VertxGen;
import io.vertx.core.Vertx;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.reactiverse.pinot.client;
package io.reactiverse.pinot.client.impl;

import java.util.concurrent.ExecutionException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.reactiverse.pinot.client;
package io.reactiverse.pinot.client.impl;

import org.apache.pinot.client.PinotClientException;
import org.apache.pinot.client.ResultSetGroup;

import io.reactiverse.pinot.client.VertxConnection;
import io.reactiverse.pinot.client.VertxPreparedStatement;
import io.vertx.codegen.annotations.Nullable;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
Expand All @@ -28,7 +30,7 @@ public class VertxConnectionImpl implements VertxConnection {
private final org.apache.pinot.client.Connection pinotConnection;
private final Vertx vertx;

VertxConnectionImpl(Vertx vertx, org.apache.pinot.client.Connection pinotConnection) {
public VertxConnectionImpl(Vertx vertx, org.apache.pinot.client.Connection pinotConnection) {
this.vertx = vertx;
this.pinotConnection = pinotConnection;
}
Expand Down Expand Up @@ -65,4 +67,4 @@ public void close() throws PinotClientException {
pinotConnection.close();
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.reactiverse.pinot.client;
package io.reactiverse.pinot.client.impl;

import org.apache.pinot.client.PreparedStatement;
import org.apache.pinot.client.ResultSetGroup;

import io.reactiverse.pinot.client.VertxPreparedStatement;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
Expand All @@ -28,7 +29,7 @@ public class VertxPreparedStatementImpl implements VertxPreparedStatement {
private final Vertx vertx;
private final PreparedStatement preparedStatement;

VertxPreparedStatementImpl(Vertx vertx, PreparedStatement preparedStatement) {
public VertxPreparedStatementImpl(Vertx vertx, PreparedStatement preparedStatement) {
this.vertx = vertx;
this.preparedStatement = preparedStatement;
}
Expand Down

0 comments on commit 3e93f98

Please sign in to comment.