File tree Expand file tree Collapse file tree
sdk-core/src/main/java/io/milvus/v2
service/collection/response Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ public class DescribeCollectionResp {
4646
4747 private CreateCollectionReq .CollectionSchema collectionSchema ;
4848 private Long createTime ;
49+ private Long createUtcTime ;
4950 private ConsistencyLevel consistencyLevel ;
5051 private Integer shardsNum ;
5152 @ Builder .Default
Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ public DescribeCollectionResp convertDescCollectionResp(DescribeCollectionRespon
145145 .vectorFieldNames (response .getSchema ().getFieldsList ().stream ().filter (fieldSchema -> ParamUtils .isVectorDataType (fieldSchema .getDataType ())).map (FieldSchema ::getName ).collect (java .util .stream .Collectors .toList ()))
146146 .primaryFieldName (response .getSchema ().getFieldsList ().stream ().filter (FieldSchema ::getIsPrimaryKey ).map (FieldSchema ::getName ).collect (java .util .stream .Collectors .toList ()).get (0 ))
147147 .createTime (response .getCreatedTimestamp ())
148+ .createUtcTime (response .getCreatedUtcTimestamp ())
148149 .consistencyLevel (io .milvus .v2 .common .ConsistencyLevel .valueOf (response .getConsistencyLevel ().name ().toUpperCase ()))
149150 .shardsNum (response .getShardsNum ())
150151 .properties (properties )
You can’t perform that action at this time.
0 commit comments