- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getTypesString (0.13 sec)
-
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
} @Override public String toString() { return (bounds.equals(ImmutableList.of(Object.class))) ? name : name + " extends " + getTypesString(bounds); } } private static String getTypesString(List<? extends Type> types) { List<String> names = transform(types, SIMPLE_NAME_GETTER); return Joiner.on(", ").join(names); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
} @Override public String toString() { return (bounds.equals(ImmutableList.of(Object.class))) ? name : name + " extends " + getTypesString(bounds); } } private static String getTypesString(List<? extends Type> types) { List<String> names = transform(types, SIMPLE_NAME_GETTER); return Joiner.on(", ").join(names); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
tests = append(tests, test{ name: fmt.Sprint(a.GetTypeString(), "==", b.GetTypeString()), fields: fields{ a: *a, b: *b, }, wantOk: i == j, }) } } for i := range valueBuilders { a := valueBuilders[i]() for j := range altValueBuilders { b := altValueBuilders[j]() tests = append(tests, test{ name: fmt.Sprint(a.GetTypeString(), "!=", b.GetTypeString()), fields: fields{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
internal/s3select/sql/funceval.go
} func timestampCast(v *Value) (t time.Time, _ error) { switch x := v.value.(type) { case string: return parseSQLTimestamp(x) case []byte: return parseSQLTimestamp(string(x)) case time.Time: return x, nil default: return t, errCastFailure(fmt.Sprintf("cannot cast %v to Timestamp type", v.GetTypeString())) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 13.2K bytes - Viewed (0) -
internal/s3select/sql/value.go
func (v Value) MarshalJSON() ([]byte, error) { if b, ok := v.ToBytes(); ok { return b, nil } return json.Marshal(v.value) } // GetTypeString returns a string representation for vType func (v Value) GetTypeString() string { switch v.value.(type) { case nil: return "NULL" case bool: return "BOOL" case string: return "STRING" case int64: return "INT"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K bytes - Viewed (0) -
internal/s3select/json/record.go
v = RawJSON(b) } else { v = string(b) } } else if arr, ok := value.ToArray(); ok { v = arr } else { return nil, fmt.Errorf("unsupported sql value %v and type %v", value, value.GetTypeString()) } name = strings.ReplaceAll(name, "*", "__ALL__") r.KVS = append(r.KVS, jstream.KV{Key: name, Value: v}) return r, nil } // WriteCSV - encodes to CSV data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.3K bytes - Viewed (0) -
internal/s3select/sql/aggregation.go
case aggFnAvg, aggFnSum: e.aggregate.runningCount++ // Convert to float. f, ok := argVal.ToFloat() if !ok { return fmt.Errorf("Could not convert value %v (%s) to a number", argVal.value, argVal.GetTypeString()) } argVal.setFloat(f) err = e.aggregate.runningSum.arithOp(opPlus, argVal) case aggFnMin: err = e.aggregate.runningMin.minmax(argVal, false, isFirstRow) case aggFnMax:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 7.9K bytes - Viewed (0)