Package com.gojek.feast
Class Row
- java.lang.Object
-
- com.gojek.feast.Row
-
public class Row extends Object
-
-
Constructor Summary
Constructors Constructor Description Row()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Row
create()
byte[]
getByte(String fieldName)
Double
getDouble(String fieldName)
com.google.protobuf.Timestamp
getEntityTimestamp()
Map<String,ValueProto.Value>
getFields()
Float
getFloat(String fieldName)
Integer
getInt(String fieldName)
Long
getLong(String fieldName)
ServingAPIProto.GetOnlineFeaturesResponse.FieldStatus
getStatus(String fieldName)
Map<String,ServingAPIProto.GetOnlineFeaturesResponse.FieldStatus>
getStatuses()
String
getString(String fieldName)
Row
set(String fieldName, Object value)
Row
set(String fieldName, Object value, ServingAPIProto.GetOnlineFeaturesResponse.FieldStatus status)
Row
setEntityTimestamp(String dateTime)
Row
setEntityTimestamp(Instant timestamp)
String
toString()
-
-
-
Method Detail
-
create
public static Row create()
-
getEntityTimestamp
public com.google.protobuf.Timestamp getEntityTimestamp()
-
set
public Row set(String fieldName, Object value, ServingAPIProto.GetOnlineFeaturesResponse.FieldStatus status)
-
getFields
public Map<String,ValueProto.Value> getFields()
-
getByte
public byte[] getByte(String fieldName)
-
getStatuses
public Map<String,ServingAPIProto.GetOnlineFeaturesResponse.FieldStatus> getStatuses()
-
getStatus
public ServingAPIProto.GetOnlineFeaturesResponse.FieldStatus getStatus(String fieldName)
-
-