标准写法
private transient ValueState state;
@Override
public void open(Configuration parameters) throws Exception {
ValueStateDescriptor state1 = new ValueStateDescriptor(
"state",
TypeInformation.of(new TypeHint<Tuple5<String, Long, Long, Long, Long>>() {})
);
this.state = getRuntimeContext() .getState(state1);
}