Skip to content

Commit

Permalink
Move java doc to enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Alekseev authored and Andrey Alekseev committed Jan 20, 2025
1 parent 8e66fe2 commit 73c4aee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions databind/src/main/java/tech/ydb/yoj/databind/schema/Column.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,16 @@
@ExperimentalApi(issue = "https://github.com/ydb-platform/yoj-project/issues/24")
CustomValueType customValueType() default @CustomValueType(columnClass = Comparable.class, converter = NoConverter.class);

/**
* LEGACY - Use parent name as prefix only if current (child) doesn't specify name explicitly
* ABSOLUTE - Use only current name, don't add prent name as prefix
* RELATIVE - Use current name and add parent name as prefix
*/
enum ColumnNaming {
@Deprecated LEGACY,
ABSOLUTE,
RELATIVE
}

/**
* LEGACY - Use parent name as prefix only if current(child) doesn't specify name explicitly
* ABSOLUTE - Use only current name, don't add prent name as prefix
* RELATIVE - Use current name and add parent name as prefix
*/
ColumnNaming columnNaming() default ColumnNaming.LEGACY;
}

0 comments on commit 73c4aee

Please sign in to comment.