Skip to content

Commit

Permalink
delete no need get method
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-024 committed Dec 24, 2024
1 parent eacf66e commit e8626e2
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions paimon-core/src/main/java/org/apache/paimon/schema/Schema.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,48 +93,28 @@ public RowType rowType() {
return new RowType(false, fields);
}

public List<DataField> fields() {
return fields;
}

public List<String> partitionKeys() {
return partitionKeys;
}

public List<String> primaryKeys() {
return primaryKeys;
}

public Map<String, String> options() {
return options;
}

public String comment() {
return comment;
}

@JsonGetter(FIELD_FIELDS)
public List<DataField> getFields() {
public List<DataField> fields() {
return fields;
}

@JsonGetter(FIELD_PARTITION_KEYS)
public List<String> getPartitionKeys() {
public List<String> partitionKeys() {
return partitionKeys;
}

@JsonGetter(FIELD_PRIMARY_KEYS)
public List<String> getPrimaryKeys() {
public List<String> primaryKeys() {
return primaryKeys;
}

@JsonGetter(FIELD_OPTIONS)
public Map<String, String> getOptions() {
public Map<String, String> options() {
return options;
}

@JsonGetter(FIELD_COMMENT)
public String getComment() {
public String comment() {
return comment;
}

Expand Down

0 comments on commit e8626e2

Please sign in to comment.