Module inet.ipaddr
Package inet.ipaddr.format.util.sql
Class SQLStringMatcher<T extends IPAddressStringDivisionSeries,P extends IPAddressStringWriter<T>,S extends IPAddressPartConfiguredString<T,P>>
java.lang.Object
inet.ipaddr.format.util.sql.SQLStringMatcher<T,P,S>
public class SQLStringMatcher<T extends IPAddressStringDivisionSeries,P extends IPAddressStringWriter<T>,S extends IPAddressPartConfiguredString<T,P>>
extends Object
This class is intended to match part of an address when it is written with a given string.
Note that a given address part can be written many ways.
Also note that some of these representations can represent more than one address section.
- Author:
- sfoley
-
Constructor Summary
ConstructorsConstructorDescriptionSQLStringMatcher
(S networkString, boolean isEntireAddress, IPAddressSQLTranslator translator) -
Method Summary
Modifier and TypeMethodDescriptiongetSQLCondition
(StringBuilder builder, String columnName) Get an SQL condition to match this address section representationtoString()
-
Constructor Details
-
SQLStringMatcher
public SQLStringMatcher(S networkString, boolean isEntireAddress, IPAddressSQLTranslator translator)
-
-
Method Details