Namespace com.ibm.streamsx.network.location

Operators

  • IPAddressLocation: IPAddressLocation is an operator for the IBM Streams product that finds the geographical location of IP addresses received in input tuples, based on the subnets they are part of, and emits output tuples containing the country, state or province, city, latitude, and longitude of the subnets.

Functions

  • locationCityName(list<uint8>[16]): This result function returns the city name for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationCityName(uint32): This result function returns the city name for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationCityNames(list<uint32>): This result function returns a list of city names corresponding to the specified list of IP version 4 addresses.
  • locationContinentCode(list<uint8>[16]): This result function returns the continent code for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationContinentCode(uint32): This result function returns the continent code for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationContinentCodes(list<uint32>): This result function returns a list of continent codes corresponding to the specified list of IP version 4 addresses.
  • locationContinentName(list<uint8>[16]): This result function returns the continent name for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationContinentName(uint32): This result function returns the continent name for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationContinentNames(list<uint32>): This result function returns a list of continent names corresponding to the specified list of IP version 4 addresses.
  • locationCountryCode(list<uint8>[16]): This result function returns the country code for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationCountryCode(uint32): This result function returns the country code for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationCountryCodes(list<uint32>): This result function returns a list of country codes corresponding to the specified list of IP version 4 addresses.
  • locationCountryName(list<uint8>[16]): This result function returns the country name for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationCountryName(uint32): This result function returns the country name for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationCountryNames(list<uint32>): This result function returns a list of country names corresponding to the specified list of IP version 4 addresses.
  • locationFound(list<uint8>[16]): This parser result function returns true if the location of the specified IP version 6 address was found, or false if not.
  • locationFound(uint32): This parser result function returns true if the location of the specified IP version 4 address was found, or false if not.
  • locationGeohash(list<uint8>[16], int32): This result function returns the geohash of the specified precision for the specified IP version 6 address, if its location was found, or an empty string if not.
  • locationGeohash(uint32, int32): This result function returns the geohash of the specified precision for the specified IP version 4 address, if its location was found, or an empty string if not.
  • locationID(list<uint8>[16]): This result function returns the location identifier for the specified IP version 6 address, if one was found, or an empty string if not.
  • locationID(uint32): This result function returns the location identifier for the specified IP version 4 address, if one was found, or an empty string if not.
  • locationIDs(list<uint32>): This result function returns a list of IDs corresponding to the specified list of IP version 4 addresses.
  • locationInEU(list<uint8>[16]): This result function returns an indication of whether or not the specified IP version 6 address is in the European Union, if its location was found and it has an indication, or an empty string if not.
  • locationInEU(uint32): This result function returns an indication of whether or not the specified IP version 4 address is in the European Union, if its location was found and it has an indication, or an empty string if not.
  • locationLatitude(list<uint8>[16]): This result function returns the latitude for the specified IP version 6 address, if its location was found, or zero if not.
  • locationLatitude(uint32): This result function returns the latitude for the specified IP version 4 address, if its location was found, or zero if not.
  • locationLatitudes(list<uint32>): This result function returns a list of latitudes corresponding to the specified list of IP version 4 addresses.
  • locationLongitude(list<uint8>[16]): This result function returns the longitude for the specified IP version 6 address, if its location was found, or zero if not.
  • locationLongitude(uint32): This result function returns the longitude for the specified IP version 4 address, if its location was found, or zero if not.
  • locationLongitudes(list<uint32>): This result function returns a list of longitudes corresponding to the specified list of IP version 4 addresses.
  • locationMetroCode(list<uint8>[16]): This result function returns the metro code for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationMetroCode(uint32): This result function returns the metro code for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationPostalCode(list<uint8>[16]): This result function returns the postal code for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationPostalCode(uint32): This result function returns the postal code for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationPostalCodes(list<uint32>): This result function returns a list of postal codes corresponding to the specified list of IP version 4 addresses.
  • locationRadii(list<uint32>): This result function returns a list of accuracy radii corresponding to the specified list of IP version 4 addresses.
  • locationRadius(list<uint8>[16]): This result function returns the accuracy of the latitude and longitude, expressed as a radius, for the specified IP version 6 address, if its location was found, or zero if not.
  • locationRadius(uint32): This result function returns the accuracy of the latitude and longitude for the specified IP version 4 address, expressed as a radius, if its location was found, or zero if not.
  • locationSubdivision1Code(list<uint8>[16]): This result function returns the first division code (typically a state or province) for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationSubdivision1Code(uint32): This result function returns the first division code (typically a state or province) for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationSubdivision1Codes(list<uint32>): This result function returns a list of first subdivision codes corresponding to the specified list of IP version 4 addresses.
  • locationSubdivision1Name(list<uint8>[16]): This result function returns the first division name (typically a state or province) for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationSubdivision1Name(uint32): This result function returns the first division name (typically a state or province) for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationSubdivision1Names(list<uint32>): This result function returns a list of the first subdivision names corresponding to the specified list of IP version 4 addresses.
  • locationSubdivision2Code(list<uint8>[16]): This result function returns the second division code for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationSubdivision2Code(uint32): This result function returns the second division code for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationSubdivision2Codes(list<uint32>): This result function returns a list of second subdivision codes corresponding to the specified list of IP version 4 addresses.
  • locationSubdivision2Name(list<uint8>[16]): This result function returns the second division name for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationSubdivision2Name(uint32): This result function returns the second division name for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationSubdivision2Names(list<uint32>): This result function returns a list of the second subdivision names corresponding to the specified list of IP version 4 addresses.
  • locationSubnet(list<uint8>[16]): This result function returns the IP subnet address and mask, in CIDR notation, for the specified IP version 6 address, if one was found, or an empty string if not.
  • locationSubnet(uint32): This result function returns the IP subnet address and mask, in CIDR notation, for the specified IP version 4 address, if one was found, or an empty string if not.
  • locationSubnetAddress(list<uint8>[16]): This result function returns the IP version 6 subnet address for the specified IP version 6 address, if one was found, or zero if not.
  • locationSubnetAddress(uint32): This result function returns the IP version 4 subnet address for the specified IP version 4 address, if one was found, or zero if not.
  • locationSubnetAddresses(list<uint32>): This result function returns a list of subnet addresses corresponding to the specified list of IP version 4 addresses.
  • locationSubnetMask(list<uint8>[16]): This result function returns the IP version 6 subnet mask for the specified IP version 6 address, if one was found, or zero if not.
  • locationSubnetMask(uint32): This result function returns the IP version 4 subnet mask for the specified IP version 4 address, if one was found, or zero if not.
  • locationSubnetMasks(list<uint32>): This result function returns a list of subnet masks corresponding to the specified list of IP version 4 addresses.
  • locationSubnets(list<uint32>): This result function returns a list of IP subnets and masks, in CIDR notation, corresponding to the specified list of IP version 4 addresses.
  • locationTimezone(list<uint8>[16]): This result function returns the time zone for the specified IP version 6 address, if its location was found and it has one, or an empty string if not.
  • locationTimezone(uint32): This result function returns the time zone for the specified IP version 4 address, if its location was found and it has one, or an empty string if not.
  • locationTimezones(list<uint32>): This result function returns a list of time zones corresponding to the specified list of IP version 4 addresses.
  • locationsFound(list<uint32>): This result function returns a list of booleans indicating whether or not the specified list of IP version 4 addresses were found.