private void putValue ( EsRequest doc , EsIndexColumn column , Object value ) { Object columnValue = column . columnValue ( value ) ; String stringValue = column . stringValue ( value ) ; doc . put ( column . getName ( ) , columnValue ) ; if ( ! ( value instanceof ModeShapeDateTime || value instanceof Long || value instanceof Boolean ) ) { doc . put ( column . getLowerCaseFieldName ( ) , stringValue . toLowerCase ( ) ) ; doc . put ( column . getUpperCaseFieldName ( ) , stringValue . toUpperCase ( ) ) ; } doc . put ( column . getLengthFieldName ( ) , stringValue . length ( ) ) ; }
Appends specified value for the given column and related pseudo columns into list of properties .