mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-27 13:04:20 +01:00
Add TODO comments for deprecation.
This commit is contained in:
@@ -4,6 +4,9 @@ import org.github.tursodatabase.limbo.Connection;
|
||||
import org.github.tursodatabase.limbo.Cursor;
|
||||
import org.github.tursodatabase.limbo.Limbo;
|
||||
|
||||
/**
|
||||
* TODO: Remove Main class. We can use test code to verify behaviors.
|
||||
*/
|
||||
public class Main {
|
||||
public static void main(String[] args) throws Exception {
|
||||
Limbo limbo = Limbo.create();
|
||||
|
||||
@@ -6,6 +6,7 @@ package org.github.tursodatabase.exceptions;
|
||||
* that may occur while communicating with the JNI.
|
||||
* <p />
|
||||
* Refer to ErrorCode in rust package.
|
||||
* TODO: Deprecate
|
||||
*/
|
||||
public class ErrorCode {
|
||||
public static int CONNECTION_FAILURE = -1;
|
||||
|
||||
@@ -4,6 +4,7 @@ import java.lang.Exception;
|
||||
|
||||
/**
|
||||
* Represents a connection to the database.
|
||||
* TODO: Deprecate classes under limbo package. We leave this source code for reference.
|
||||
*/
|
||||
public class Connection {
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ package org.github.tursodatabase.limbo;
|
||||
|
||||
/**
|
||||
* Represents a database cursor.
|
||||
* TODO: Deprecate classes under limbo package. We leave this source code for reference.
|
||||
*/
|
||||
public class Cursor {
|
||||
private long cursorPtr;
|
||||
|
||||
@@ -4,6 +4,9 @@ import org.github.tursodatabase.exceptions.ErrorCode;
|
||||
|
||||
import java.lang.Exception;
|
||||
|
||||
/**
|
||||
* TODO: Deprecate classes under limbo package. We leave this source code for reference.
|
||||
*/
|
||||
public class Limbo {
|
||||
|
||||
private static volatile boolean initialized;
|
||||
|
||||
Reference in New Issue
Block a user