Skip to content

Commit

Permalink
docs: make sure clients know about APIs that are exposed to them but …
Browse files Browse the repository at this point in the history
…not available
  • Loading branch information
hishidama committed Aug 26, 2024
1 parent 187b428 commit 7df2f25
Show file tree
Hide file tree
Showing 16 changed files with 43 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ public TgTableMetadata(TableMetadata lowTableMetadata) {
}

/**
* <em>This method is not yet implemented:</em>
* get database name.
*
* @return database name
*/
@Nullable
public String getDatabaseName() {
public @Nullable String getDatabaseName() {
return lowTableMetadata.getDatabaseName().orElse(null);
}

/**
* <em>This method is not yet implemented:</em>
* get schema name.
*
* @return schema name
*/
@Nullable
public String getSchemaName() {
public @Nullable String getSchemaName() {
return lowTableMetadata.getSchemaName().orElse(null);
}

Expand All @@ -50,8 +50,7 @@ public String getSchemaName() {
*
* @return table name
*/
@Nonnull
public String getTableName() {
public @Nonnull String getTableName() {
return lowTableMetadata.getTableName();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ public default byte[] getBytes(int index, byte[] defaultValue) {
// boolean[]

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param index column index
Expand All @@ -437,6 +438,7 @@ public default byte[] getBytes(int index, byte[] defaultValue) {
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param index column index
Expand All @@ -449,6 +451,7 @@ public default boolean[] getBits(int index, boolean[] defaultValue) {
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param index column index
Expand All @@ -460,6 +463,7 @@ public default boolean[] getBits(int index, boolean[] defaultValue) {
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param index column index
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ public default byte[] getBytes(String name, byte[] defaultValue) {
// boolean[]

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param name column name
Expand All @@ -437,6 +438,7 @@ public default byte[] getBytes(String name, byte[] defaultValue) {
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param name column name
Expand All @@ -449,6 +451,7 @@ public default boolean[] getBits(String name, boolean[] defaultValue) {
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param name column name
Expand All @@ -460,6 +463,7 @@ public default boolean[] getBits(String name, boolean[] defaultValue) {
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param name column name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public enum TgDataType {
*/
BYTES(AtomType.OCTET, List.of(byte[].class)),
/**
* <em>This enum is not yet implemented:</em>
* boolean[]
*/
BITS(AtomType.BIT, List.of(boolean[].class)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public TsurugiStatementResult execute(TsurugiTransaction transaction, P paramete
}

/**
* <em>This method is not yet implemented:</em>
* execute batch.
*
* @param transaction Transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ public TgBindParameters addBytes(@Nonnull String name, @Nullable byte[] value) {
}

/**
* <em>This method is not yet implemented:</em>
* add value(boolean[]).
*
* @param name name
Expand Down Expand Up @@ -517,6 +518,7 @@ public TgBindParameters add(@Nonnull String name, @Nullable byte[] value) {
}

/**
* <em>This method is not yet implemented:</em>
* add value(boolean[]).
*
* @param name name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ public TgBindVariableBytes clone(@Nonnull String name) {
}

/**
* <em>This method is not yet implemented:</em>
* create bind variable.
*
* @param name name
Expand All @@ -474,6 +475,7 @@ public static TgBindVariable<boolean[]> ofBits(@Nonnull String name) {
}

/**
* <em>This class is not yet implemented:</em>
* Tsurugi Bind Variable&lt;boolean[]&gt;.
*/
public static class TgBindVariableBits extends TgBindVariable<boolean[]> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ public TgBindVariables addBytes(@Nonnull String name) {
}

/**
* <em>This method is not yet implemented:</em>
* add type(boolean[]).
*
* @param name name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ public <V> TgEntityParameterMapping<P> addBytes(String name, Function<P, V> gett
}

/**
* <em>This method is not yet implemented:</em>
* add variable.
*
* @param name name
Expand All @@ -337,6 +338,7 @@ public TgEntityParameterMapping<P> addBits(String name, Function<P, boolean[]> g
}

/**
* <em>This method is not yet implemented:</em>
* add variable.
*
* @param <V> value type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ public static TgSingleParameterMapping<byte[]> ofBytes(String name) {
}

/**
* <em>This method is not yet implemented:</em>
* create parameter mapping.
*
* @param name bind variable name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ public default byte[] getBytes(int index, byte[] defaultValue) throws IOExceptio
// boolean[]

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param index column index
Expand All @@ -541,6 +542,7 @@ public default byte[] getBytes(int index, byte[] defaultValue) throws IOExceptio
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param index column index
Expand All @@ -556,6 +558,7 @@ public default boolean[] getBits(int index, boolean[] defaultValue) throws IOExc
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param index column index
Expand All @@ -570,6 +573,7 @@ public default boolean[] getBits(int index, boolean[] defaultValue) throws IOExc
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param index column index
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ public default byte[] getBytes(String name, byte[] defaultValue) throws IOExcept
// boolean[]

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param name column name
Expand All @@ -541,6 +542,7 @@ public default byte[] getBytes(String name, byte[] defaultValue) throws IOExcept
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param name column name
Expand All @@ -556,6 +558,7 @@ public default boolean[] getBits(String name, boolean[] defaultValue) throws IOE
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param name column name
Expand All @@ -570,6 +573,7 @@ public default boolean[] getBits(String name, boolean[] defaultValue) throws IOE
}

/**
* <em>This method is not yet implemented:</em>
* get value as boolean[].
*
* @param name column name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ public default byte[] nextBytes(byte[] defaultValue) throws IOException, Interru
// boolean[]

/**
* <em>This method is not yet implemented:</em>
* get current value as boolean[] and move next column.
*
* @return value
Expand All @@ -516,6 +517,7 @@ public default byte[] nextBytes(byte[] defaultValue) throws IOException, Interru
}

/**
* <em>This method is not yet implemented:</em>
* get current value as boolean[] and move next column.
*
* @param defaultValue value to return if original value is null
Expand All @@ -530,6 +532,7 @@ public default boolean[] nextBits(boolean[] defaultValue) throws IOException, In
}

/**
* <em>This method is not yet implemented:</em>
* get current value as boolean[] and move next column.
*
* @return value
Expand All @@ -543,6 +546,7 @@ public default boolean[] nextBits(boolean[] defaultValue) throws IOException, In
}

/**
* <em>This method is not yet implemented:</em>
* get current value as boolean[] and move next column.
*
* @return value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@ public <V> TgEntityResultMapping<R> addBytes(String name, BiConsumer<R, V> sette
// boolean[]

/**
* <em>This method is not yet implemented:</em>
* add setter.
*
* @param setter setter to R
Expand All @@ -760,6 +761,7 @@ public TgEntityResultMapping<R> addBits(BiConsumer<R, boolean[]> setter) {
}

/**
* <em>This method is not yet implemented:</em>
* add setter.
*
* @param <V> value type
Expand All @@ -773,6 +775,7 @@ public <V> TgEntityResultMapping<R> addBits(BiConsumer<R, V> setter, Function<bo
}

/**
* <em>This method is not yet implemented:</em>
* add setter.
*
* @param index column index
Expand All @@ -785,6 +788,7 @@ public TgEntityResultMapping<R> addBits(int index, BiConsumer<R, boolean[]> sett
}

/**
* <em>This method is not yet implemented:</em>
* add setter.
*
* @param <V> value type
Expand All @@ -801,6 +805,7 @@ public <V> TgEntityResultMapping<R> addBits(int index, BiConsumer<R, V> setter,
}

/**
* <em>This method is not yet implemented:</em>
* add setter.
*
* @param name column name
Expand All @@ -813,6 +818,7 @@ public TgEntityResultMapping<R> addBits(String name, BiConsumer<R, boolean[]> se
}

/**
* <em>This method is not yet implemented:</em>
* add setter.
*
* @param <V> value type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public static TgSingleResultMapping<byte[]> ofBytes() {
private static TgSingleResultMapping<boolean[]> bitsMapping;

/**
* <em>This method is not yet implemented:</em>
* create result mapping.
*
* @return result mapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public abstract class AbstractTgTxOptionLong<T extends AbstractTgTxOptionLong<T>
private TransactionPriority lowPriority = null;

/**
* <em>This method is not yet implemented:</em>
* set priority.
*
* @param priority priority
Expand Down

0 comments on commit 7df2f25

Please sign in to comment.