public class PropertyPath extends ObjectSE implements Streamable<PropertyPath>
PropertyPath の抽象化。| 修飾子と型 | メソッドと説明 |
|---|---|
protected boolean | canEqual(ObjectSE other) |
boolean | equals(ObjectSE o) |
static PropertyPath | from(StringSE source, ClassSE<?> type) 指定されたソース StringSE および型から PropertyPath チェーンを抽出します。 |
static PropertyPath | from(StringSE source, TypeInformation<?> type) |
PropertyPath | getLeafProperty()PropertyPath のリーフプロパティを返します。 |
ClassSE<?> | getLeafType() 現在の PropertyPath のリーフプロパティの型を返します。 |
TypeInformation<?> | getOwningType()PropertyPath の所有型を返します。 |
StringSE | getSegment()PropertyPath の名前を返します。 |
ClassSE<?> | getType() プロパティの型を返します。単純なプロパティの場合はプレーン解決型、任意の IterableSE の場合はコンポーネント型、プロパティが 1 の場合は MapSE の値型を返します。 |
TypeInformation<?> | getTypeInformation() |
int | hashCode() |
boolean | hasNext() ネストされた PropertyPath があるかどうかを返します。 |
boolean | isCollection()PropertyPath が実際にコレクションであるかどうかを返します。 |
IteratorSE<PropertyPath> | iterator() |
PropertyPath | nested(StringSE path) 現在のプロパティにネストされたパスの PropertyPath を返します。 |
PropertyPath | next() 次にネストされた PropertyPath を返します。 |
StringSE | toDotPath()PropertyPath をドット表記で返します。 |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEand, and, and, and, empty, filter, flatMap, get, isEmpty, map, of, of, of, stream, toList, toSet, toStreamable, toStreamableforEachSE, spliteratorSEpublic TypeInformation<?> getOwningType()
PropertyPath の所有型を返します。public StringSE getSegment()
PropertyPath の名前を返します。public PropertyPath getLeafProperty()
PropertyPath のリーフプロパティを返します。public ClassSE<?> getLeafType()
PropertyPath のリーフプロパティの型を返します。public ClassSE<?> getType()
IterableSE の場合はコンポーネント型、プロパティが 1 の場合は MapSE の値型を返します。@Nullable public PropertyPath next()
PropertyPath を返します。PropertyPath。ネストされた PropertyPath が使用できない場合は null。hasNext()public boolean hasNext()
PropertyPath があるかどうかを返します。これが true を返す場合、next() が null 以外の値を返すことが期待できます。public StringSE toDotPath()
PropertyPath をドット表記で返します。public boolean isCollection()
PropertyPath が実際にコレクションであるかどうかを返します。public PropertyPath nested(StringSE path)
PropertyPath を返します。path - null または空であってはなりません。public IteratorSE<PropertyPath> iterator()
IterableSE<PropertyPath> の iteratorSE public static PropertyPath from(StringSE source, ClassSE<?> type)
StringSE および型から PropertyPath チェーンを抽出します。source -type -public static PropertyPath from(StringSE source, TypeInformation<?> type)
StringSE および TypeInformation から PropertyPath チェーンを抽出します。SPLITTER を使用し、quotedSE リテラルには SPLITTER_FOR_QUOTED を使用します。source - null であってはなりません。type -public StringSE toString()
ObjectSE の toStringSE protected boolean canEqual(ObjectSE other)
public int hashCode()
ObjectSE の hashCodeSE public TypeInformation<?> getTypeInformation()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.