public class CompressedStepChunkData extends CompressedChunkData
이 클래스는 CompressedChunkData를 상속받아, Step에 기반한 추가적인 데이터를 포함하는 구체적인 구현체이다. 이 클래스는 Step 데이터와
관련된 stepId, step, stepSeq, type 필드를 추가로 포함하며, 이를 통해 각 Cycle 내에서
특정 Step를 구체적으로 추적하고 분석할 수 있다.
CompressedStepChunkData 클래스는 직렬화를 지원하며, 데이터를 Step Chunk로 압축된 형태를 관리하고 저장하는 데 사용된다. 이 클래스는
데이터의 효율적인 저장과 전송을 위해 바이트 배열과 기타 기본형 데이터 타입으로 데이터를 관리한다.
CompressedChunkData,
CompressedCycleChunkData,
Serializable,
Serialized Form| Constructor and Description |
|---|
CompressedStepChunkData(short cycle,
long stepId,
short step,
int stepSeq,
byte[] rawSeq,
java.lang.String type,
byte[] stepTime,
byte[] voltage,
byte[] current,
byte[] power,
byte[] chargeCapacity,
byte[] dischargeCapacity,
byte[] temperature,
byte[] createdAt,
int rowCount)
주어진 매개변수로
CompressedStepChunkData 객체를 초기화하는 빌더 패턴 생성자이다. |
public CompressedStepChunkData(short cycle,
long stepId,
short step,
int stepSeq,
byte[] rawSeq,
java.lang.String type,
byte[] stepTime,
byte[] voltage,
byte[] current,
byte[] power,
byte[] chargeCapacity,
byte[] dischargeCapacity,
byte[] temperature,
byte[] createdAt,
int rowCount)
CompressedStepChunkData 객체를 초기화하는 빌더 패턴 생성자이다.
이 생성자는 상위 클래스의 필드와 더불어, Step에 특화된 데이터 필드들을 초기화한다.
cycle - 데이터의 사이클 인덱스.stepId - 각 Step의 ID를 나타내는 long 값.step - 각 Step을 나타내는 short 값.stepSeq - Step 시퀀스를 나타내는 int 값.rawSeq - 압축된 원시 시퀀스 데이터.type - Step의 유형을 나타내는 String 값.stepTime - 압축된 Step 시간 데이터.voltage - 압축된 전압 데이터.current - 압축된 전류 데이터.power - 압축된 전력 데이터.chargeCapacity - 압축된 충전 용량 데이터.dischargeCapacity - 압축된 방전 용량 데이터.temperature - 압축된 온도 데이터.createdAt - 압축된 적재 타임스탬프 데이터.rowCount - 이 청크에 저장된 행 수 또는 데이터 포인트 수.