Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
shuwenwei committed Nov 21, 2024
1 parent ddbc5c2 commit abb07da
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public class TSFileConfig implements Serializable {
* Encoder of TIMESTAMP column, TsFile supports TS_2DIFF, PLAIN and RLE(run-length encoding)
* Default value is TS_2DIFF.
*/
private String timestampEncoder = "TS_2DIFF";
private String timestampValueEncoder = "TS_2DIFF";

/**
* Encoder of value series. default value is PLAIN. For int, long data type, TsFile also supports
Expand Down Expand Up @@ -345,7 +345,7 @@ public String getValueEncoder() {
public String getValueEncoder(TSDataType dataType) {
switch (dataType) {
case TIMESTAMP:
return timestampEncoder;
return timestampValueEncoder;
default:
return valueEncoder;
}
Expand All @@ -355,12 +355,12 @@ public void setValueEncoder(String valueEncoder) {
this.valueEncoder = valueEncoder;
}

public void setTimestampEncoder(String timestampEncoder) {
this.timestampEncoder = timestampEncoder;
public void setTimestampValueEncoder(String timestampValueEncoder) {
this.timestampValueEncoder = timestampValueEncoder;
}

public String getTimestampEncoder() {
return timestampEncoder;
public String getTimestampValueEncoder() {
return timestampValueEncoder;
}

public int getRleBitWidth() {
Expand Down

0 comments on commit abb07da

Please sign in to comment.