public class ChildChunk extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ChildChunk.ChildChunkBuilder |
| 构造器和说明 |
|---|
ChildChunk() |
ChildChunk(String id,
String segmentId,
String content,
Integer position,
Integer wordCount,
String type,
Long createdAt,
Long updatedAt) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ChildChunk.ChildChunkBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getContent()
分段内容文本
|
Long |
getCreatedAt()
创建时间戳(秒级)
|
String |
getId()
分段唯一ID
|
Integer |
getPosition()
分段位置序号
|
String |
getSegmentId()
分段的段落ID
|
String |
getType()
分段类型(如 automatic 自动生成)
|
Long |
getUpdatedAt()
最后更新时间戳(秒级)
|
Integer |
getWordCount()
分段字数统计
|
int |
hashCode() |
void |
setContent(String content)
分段内容文本
|
void |
setCreatedAt(Long createdAt)
创建时间戳(秒级)
|
void |
setId(String id)
分段唯一ID
|
void |
setPosition(Integer position)
分段位置序号
|
void |
setSegmentId(String segmentId)
分段的段落ID
|
void |
setType(String type)
分段类型(如 automatic 自动生成)
|
void |
setUpdatedAt(Long updatedAt)
最后更新时间戳(秒级)
|
void |
setWordCount(Integer wordCount)
分段字数统计
|
String |
toString() |
public static ChildChunk.ChildChunkBuilder builder()
public String getId()
public String getSegmentId()
public String getContent()
public Integer getPosition()
public Integer getWordCount()
public String getType()
public Long getCreatedAt()
public Long getUpdatedAt()
public void setId(String id)
public void setSegmentId(String segmentId)
public void setContent(String content)
public void setPosition(Integer position)
public void setWordCount(Integer wordCount)
public void setType(String type)
public void setCreatedAt(Long createdAt)
public void setUpdatedAt(Long updatedAt)
protected boolean canEqual(Object other)
Copyright © 2025. All rights reserved.