returns a new empty translog operation for the given translog.operation.type concode_field_sep TranslogStream LATEST concode_elem_sep byte UNVERSIONED_TRANSLOG_HEADER_BYTE concode_elem_sep TranslogStream CHECKSUMMED_TRANSLOG_STREAM concode_elem_sep byte LUCENE_CODEC_HEADER_BYTE concode_elem_sep String TRANSLOG_CODEC concode_elem_sep TranslogStream LEGACY_TRANSLOG_STREAM concode_field_sep void writeTranslogOperation concode_elem_sep Translog.Operation readTranslogOperation concode_elem_sep TranslogStream translogStreamFor
Translog . Operation function ( Translog . Operation . Type arg0 ) { switch ( arg0 ) { case CREATE : return new Translog . Create ( ) ; case DELETE : return new Translog . Delete ( ) ; case DELETE_BY_QUERY : return new Translog . DeleteByQuery ( ) ; case SAVE : return new Translog . Index ( ) ; default : throw new IOException ( "srini_string" + arg0 + "srini_string" ) ; } }